0.2.12 • Published 7 months ago

@avanio/logger-like v0.2.12

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@avanio/logger-like

TypeScript npm version Maintainability github action

Overview

Generic logger utilities and tools for TypeScript/JavaScript projects.

Content

This package main components:

  • A common ILoggerLike logger interface that works with console, winston, and log4js.
  • A LevelLogger logger class implementation that can set log levels and acts as filter for the actual logger implementation.
  • A PrefixLogger logger class implementation that can add a prefix to the log messages.
  • A MapLogger, logger class implementation that can be used to map log levels to different log keys.

See full Documentation for more details.

Installation

npm install @avanio/logger-like