log-segment
Advanced tools
Comparing version 1.3.0 to 1.3.1
{ | ||
"name": "log-segment", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "logger with partition", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
@@ -294,9 +294,8 @@ # log-segment | ||
- add chrono > ``log.chrono('tag')`` | ||
- custom format for each level (ex. add trace only in panic) | ||
- add chrono > ``log.chrono('tag')`` | ||
- browser support (mode: console - no colors, file - fs.html5) | ||
- browser support, only console mode (!colors) ``console.log('%c message', 'color: red');`` | ||
- custom mode: stream, (sms, telegram and whatever) | ||
- custom format in log.value | ||
- custom mode: stream, (sms, telegram and whatever) | ||
- multiple mode for each setting (example: on panic send email + log to file + send sms + call mom) | ||
- customizable action (example: on error run function) | ||
- (evaluate) support workers (as transport) | ||
@@ -303,0 +302,0 @@ - [pino](https://github.com/pinojs/pino) |
22481
334