3.1.0 • Published 2 years ago
application-log-winston-interface v3.1.0
application-log-winston-interface
A wrapper around initialising Winston with Application-Log Standard levels, colours, and specific formats.
Table of Contents
Background
A simple module that exists primarily as a convenience to initialise Winston the way I like.
Install
Using pnpm:
pnpm add --save application-log-winston-interface
It can, of course, also be installed by NPM or Yarn using the normal methods.
Usage
API
import * as ApplicationLogWinstonInterface from 'application-log-winston-interface';
try{ var Logger = ApplicationLogWinstonInterface.initWinstonLogger( 'base_name.log', './log/directory' ); } catch(error){ // }
# Contributing
Changes are tracked in [CHANGELOG.md](CHANGELOG.md).
# License
MIT ©2021 Anadian
SEE LICENSE IN [LICENSE](LICENSE)
[![Creative Commons License](https://i.creativecommons.org/l/by-sa/4.0/88x31.png)](http://creativecommons.org/licenses/by-sa/4.0/)This project's documentation is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/).