logger-ts-node
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

logger-ts-node

This library allows to create very simply the logs in the console.

Documentation

Install

npm install logger-ts-node

Import

TS:

import Logger from 'logger-ts-node';

JS:

const {Logger} = require('logger-ts-node');

Info

Logger.info('This is an info message');

Warn

Logger.warn('This is a warning message');

Error

Logger.error('This is an error message');

debug

Logger.debug('This is a debug message');

Trace

Logger.trace('This is a trace message');

Result

Screenshot

Package Sidebar

Install

npm i logger-ts-node

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

7.95 kB

Total Files

9

Last publish

Collaborators

  • dev_cetus