if-logger
Version:
`if-logger` can set whether to log or not dynamically
41 lines (40 loc) • 686 B
TypeScript
export declare const NODE_COLOR: {
red: string;
yellow: string;
white: string;
green: string;
gray: string;
cyan: string;
};
export declare const LOG_LEVEL: {
off: {
priority: number;
};
error: {
priority: number;
color: string;
};
warn: {
priority: number;
color: string;
};
log: {
priority: number;
color: string;
};
info: {
priority: number;
color: string;
};
verbose: {
priority: number;
color: string;
};
debug: {
priority: number;
color: string;
};
all: {
priority: number;
};
};