A micropackage formerly known as
application-log-winston-interface
: a wrapper around initialising Winston with Application-Log Standard levels, colours, and specific formats.
A simple module that exists primarily as a convenience to initialise Winston the way I like.
Using pnpm:
pnpm add --save @devtea2027/nihil-eligendi-aperiam-nemo
It can, of course, also be installed by NPM or Yarn using the normal methods.
import * as ApplicationLogWinstonInterface from '@devtea2027/nihil-eligendi-aperiam-nemo';
try{
var Logger = ApplicationLogWinstonInterface.initWinstonLogger( 'base_name.log', './log/directory' );
} catch(error){
//
}
Changes are tracked in CHANGELOG.md.
MIT ©2021 Anadian
SEE LICENSE IN LICENSE
This project's documentation is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.