@hishprorg/veniam-aperiam
v3.5.87
Published
[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme) [![Semantic Versioning 2.0.0](https://img.shields.io/badge/semver-2.0.0-brightgreen?styl
Downloads
110
Maintainers
Keywords
Readme
@hishprorg/veniam-aperiam
A micropackage formerly known as
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 @hishprorg/veniam-aperiam
It can, of course, also be installed by NPM or Yarn using the normal methods.
Usage
API
import * as ApplicationLogWinstonInterface from '@hishprorg/veniam-aperiam';
try{
var Logger = ApplicationLogWinstonInterface.initWinstonLogger( 'base_name.log', './log/directory' );
} catch(error){
//
}
Contributing
Changes are tracked in CHANGELOG.md.
License
MIT ©2021 Anadian
SEE LICENSE IN LICENSE
This project's documentation is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.