@api-typed/logger
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

🛠 Api-Typed/Common

🥣 An Api-Typed component.

Logger and logging tools.

  • Provides a LoggerInterface with industry standard methods.
  • Provides an AbstractLogger class that implements LoggerInterface so you don't have to.
  • Provides a NullLogger class that can be useful in tests or default values of params to silence any logging transparently.
  • Inject logger via @InjectLogger() decorator when combined with TypeDI.

This needs work so probably shouldn't be used outside of Api-Typed. But gets the job done for now.

Installation

$ npm i -S @api-typed/config

No configuration needed.

/@api-typed/logger/

    Package Sidebar

    Install

    npm i @api-typed/logger

    Weekly Downloads

    12

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    16.6 kB

    Total Files

    27

    Last publish

    Collaborators

    • michaldudek