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 { 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], {