Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { ConsoleLogger, IConsoleLoggerSettings } from '@cdm-logger/server';
import * as Logger from 'bunyan';
const settings: IConsoleLoggerSettings = {
level: 'trace',
};
export const logger: Logger = ConsoleLogger.create('nats-subcscription', settings);
import { ConsoleLogger, IConsoleLoggerSettings } from '@cdm-logger/server';
import { LoggerLevel } from '@cdm-logger/core';
import * as Logger from 'bunyan';
const settings: IConsoleLoggerSettings = {
level: process.env.LOG_LEVEL as LoggerLevel || 'trace',
};
export const logger: Logger = ConsoleLogger.create('@sample-stack-server', settings);