refactor: make OverrideBuildOptions skipLogs deprecated

This commit is contained in:
Shinwoo PARK 2025-02-11 20:40:20 +09:00
parent 36e47ebc8d
commit 35cdb6d870

View File

@ -124,8 +124,11 @@ interface FunctionMetadata {
}
interface OverrideBuildOptions {
/** @deprecated */
skipCallLog: boolean;
/** @deprecated */
skipReturnLog: boolean;
/** @deprecated */
skipErrorLog: boolean;
}
@ -182,7 +185,7 @@ function overrideBuild<F extends Array<any>, R>(
} ${metadatas.loggedParams && metadatas.loggedParams.length > 0
? "WITH " +
metadatas.loggedParams.map(
({name, index, include, exclude}) =>
({ name, index, include, exclude }) =>
name +
"=" +
imObjectContainedLogSync(args[index], {