feat(nestlogged): add new logger for global logging in nestlogged
This commit is contained in:
parent
8b68bb1d63
commit
749c279f20
@ -1,3 +1,5 @@
|
||||
import { Logger } from "@nestjs/common";
|
||||
|
||||
export const notIncludedSymbol = Symbol('notIncluded');
|
||||
|
||||
export function includeObjectSync(
|
||||
@ -95,3 +97,5 @@ export function getItemByPathSync(obj: object, path: string | string[]) {
|
||||
: obj[paths[0]]
|
||||
: undefined;
|
||||
}
|
||||
|
||||
export const logger = new Logger('NestLogged');
|
Loading…
x
Reference in New Issue
Block a user