Skip to content

adntro/logger

Repository files navigation

@adntro/logger

Simple typescript logger

npm version

Getting started

Install as a dependency

npm i -S @adntro/logger

Usage

import { Logger } from '@adntro/logger'


const logger = new Logger('my-class');

logger.debug('This is a trace');   // [my-class][debug] This is a trace
logger.info({ some: 'data' })      // [my-class][info] {"some":"data"}


License

MIT


Made with ❤️ by the Adntro Genetics Developer Team.

NOTE: This is not an official Adntro product.

Releases

No releases published

Packages

No packages published