JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 465
  • Score
    100M100P100Q99315F
  • License MIT

A wrapper around initialising Winston with Application-Log Standard levels, colours, and specific formats.

Package Exports

  • application-log-winston-interface
  • application-log-winston-interface/source/main.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (application-log-winston-interface) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

application-log-winston-interface

standard-readme compliant Semantic Versioning 2.0.0 Conventional Commits License npm ci Coverage Status

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.

License

MIT ©2021 Anadian

SEE LICENSE IN LICENSE

Creative Commons LicenseThis project's documentation is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.