From 45aa4b96c79bf05bcdb4bccd57f822ac1240e3a1 Mon Sep 17 00:00:00 2001 From: Shinwoo PARK Date: Fri, 21 Mar 2025 09:06:17 +0900 Subject: [PATCH] refactor: rename imObjectContainedLogSync to objectContainedLogSync --- src/internals/utils.ts | 2 +- src/logged.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/internals/utils.ts b/src/internals/utils.ts index 19741a5..f76fc1f 100644 --- a/src/internals/utils.ts +++ b/src/internals/utils.ts @@ -58,7 +58,7 @@ export function excludeObjectSync( return copied } -export function imObjectContainedLogSync( +export function objectContainedLogSync( ocv: any, options?: { include?: string[]; diff --git a/src/logged.ts b/src/logged.ts index d2add5f..f0995ee 100644 --- a/src/logged.ts +++ b/src/logged.ts @@ -16,7 +16,7 @@ import { loggedParam, scopedLogger, } from "./reflected"; -import { imObjectContainedLogSync, getItemByPathSync } from "./internals/utils"; +import { objectContainedLogSync, getItemByPathSync } from "./internals/utils"; import { createRouteParamDecorator } from "./internals/nest"; import { RequestMethod } from "@nestjs/common"; @@ -283,7 +283,7 @@ function overrideBuild, R>( ({ name, index, include, exclude }) => name + "=" + - imObjectContainedLogSync(args[index], { + objectContainedLogSync(args[index], { include, exclude, })