This package has been deprecated

Author message:

no longer maintained

@activescott/diag-winston
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

@activescott/diag-winston

npm version Build Status

Yet another logging package. The only thing this package really is doing is defining a consistent API for diagnostic logging.

Usage

This package implements the interface defined in the activescott/diag package.

Recommended way to use is to put a single file in your project like services.ts and export createLogger from there:

export { createLogger } from "@activescott/diag-winston"

This way you can import a single createLogger function throughout your project and easily replace it later with a different implementation if you so choose.

Local Testing

You can also test your shareable config on your computer before publishing by linking your module globally. Type:

npm run -s test

Then, in your project that wants to use your shareable config, type:

yarn link @activescott/diag-winston

/@activescott/diag-winston/

    Package Sidebar

    Install

    npm i @activescott/diag-winston

    Weekly Downloads

    8

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    18.5 kB

    Total Files

    11

    Last publish

    Collaborators

    • activescott