refactor: make OverrideBuildOptions skipLogs deprecated
This commit is contained in:
parent
36e47ebc8d
commit
35cdb6d870
@ -124,8 +124,11 @@ interface FunctionMetadata {
|
|||||||
}
|
}
|
||||||
|
|
||||||
interface OverrideBuildOptions {
|
interface OverrideBuildOptions {
|
||||||
|
/** @deprecated */
|
||||||
skipCallLog: boolean;
|
skipCallLog: boolean;
|
||||||
|
/** @deprecated */
|
||||||
skipReturnLog: boolean;
|
skipReturnLog: boolean;
|
||||||
|
/** @deprecated */
|
||||||
skipErrorLog: boolean;
|
skipErrorLog: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -182,7 +185,7 @@ function overrideBuild<F extends Array<any>, R>(
|
|||||||
} ${metadatas.loggedParams && metadatas.loggedParams.length > 0
|
} ${metadatas.loggedParams && metadatas.loggedParams.length > 0
|
||||||
? "WITH " +
|
? "WITH " +
|
||||||
metadatas.loggedParams.map(
|
metadatas.loggedParams.map(
|
||||||
({name, index, include, exclude}) =>
|
({ name, index, include, exclude }) =>
|
||||||
name +
|
name +
|
||||||
"=" +
|
"=" +
|
||||||
imObjectContainedLogSync(args[index], {
|
imObjectContainedLogSync(args[index], {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user