diff --git a/src/logged.ts b/src/logged.ts index ec9e6a1..daedca3 100644 --- a/src/logged.ts +++ b/src/logged.ts @@ -124,8 +124,11 @@ interface FunctionMetadata { } interface OverrideBuildOptions { + /** @deprecated */ skipCallLog: boolean; + /** @deprecated */ skipReturnLog: boolean; + /** @deprecated */ skipErrorLog: boolean; } @@ -182,7 +185,7 @@ function overrideBuild, R>( } ${metadatas.loggedParams && metadatas.loggedParams.length > 0 ? "WITH " + metadatas.loggedParams.map( - ({name, index, include, exclude}) => + ({ name, index, include, exclude }) => name + "=" + imObjectContainedLogSync(args[index], {