Détail du package

application-log-winston-interface

Anadian1.5kMIT3.1.0

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

personal, wrapper, winston, application

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
  • Install
  • Usage
  • API
  • Contributing
  • License

    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

    ```js 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.

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

3.1.0 (2022-09-11)

Features

  • Added nullLogger as an export (bcc3670)

3.0.1 (2022-09-11)

Bug Fixes

  • Transports are now created at init time so options actually take effect. (d618ea4)

Refactoring

  • Updated .gitignore to ignore test output. (7cd7c84)

3.0.0 (2022-08-30)

⚠ BREAKING CHANGES

  • Moving to ECMA modules only.
  • Before fully leaning into ECMA modules.

Chores

  • Before fully leaning into ECMA modules. (30bf32e)
  • Moving to ECMA modules only. (9492151)

Documentation

Continuous Integration

  • Greatly improved coverage. (5c92c94)

2.0.6 (2022-02-20)

Documentation

  • Updated README and deps. (769b487)

2.0.5 (2021-09-25)

Chores

  • deps: Updated dependencies. (b92ed92)

2.0.4 (2021-06-14)

Chores

  • deps: Updated dependencies. (7bbd114)

2.0.3 (2021-05-13)

Chores

  • deps: Updating dependencies. (9200b56)

2.0.2 (2021-04-25)

Documentation

  • README: Added more badges to README.md (8024f9f)

2.0.1 (2021-04-25)

2.0.0 (2021-04-25)

⚠ BREAKING CHANGES

  • Breaking changes with a new, more JavaScript-y API, entering v2.0.0

Features

  • Breaking changes with a new, more JavaScript-y API, entering v2.0.0 (afbc161)

Chores

  • repo: Added dev dependencies. (4cd7630)