Skip to content

mta-logger 3.0.0-canary.3

Install from the command line:
Learn more about npm packages
$ npm install @nayotta/mta-logger@3.0.0-canary.3
Install via package.json:
"@nayotta/mta-logger": "3.0.0-canary.3"

About this version

@nayotta/mta-logger

Build and LintNode.js Package

A simple typescript/javascript logger module.

install

$ npm install @nayotta/mta-logger --save

example

import { Logger } from '@nayotta/mta-logger'

const logger = new Logger({
	level: 'debug',
	colorful: true
}).withFields({
	'#instance': 'app',
	'#method': 'init'
})

logger.info('app start on port', 8080)

// print
// INFO[2021-10-13T15:20:19:042] app start on port 8080 #instance=app #method=init

Details


Assets

  • mta-logger-3.0.0-canary.3.tgz

Download activity

  • Total downloads 1
  • Last 30 days 0
  • Last week 0
  • Today 0