ts-composite-logger
Advanced tools
Comparing version 1.2.2 to 1.2.3
{ | ||
"name": "ts-composite-logger", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Logger written in typescript. Includes a console channel by default. Allows to add other log channels by extending ILogChannel interface.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -1,2 +0,2 @@ | ||
# Composite logger | ||
# Composite logger | ||
Use this package in your applications for logging. Out of the box the package outputs logs to console. You can create more custom channels and send data to them as well, dynamically add and remove them. The advantage of this logger is that it's easy to extend it. | ||
@@ -6,3 +6,3 @@ | ||
## Basic usage | ||
## Basic usage | ||
@@ -30,3 +30,3 @@ import {Logger, Console, LogLevel} from "ts-composite-logger"; | ||
## Date format options for console channel | ||
## Date format options for console channel | ||
Format string can be anything, but the following letters will be replaced (and leading zeroes added if necessary): | ||
@@ -33,0 +33,0 @@ |
25332