How to use the @cdm-logger/client.ClientLogger.create function in @cdm-logger/client

To help you get started, we’ve selected a few @cdm-logger/client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cdmbase / fullstack-pro / packages / sample-client-core / src / common / logger.ts View on Github external
import { ClientLogger } from '@cdm-logger/client';

const logLevel = process.env.LOG_LEVEL || 'trace';
const logger = ClientLogger.create('FullStack', { level: logLevel });

export { logger };

@cdm-logger/client

Universal - Logger

MIT
Latest version published 5 months ago

Package Health Score

53 / 100
Full package analysis