log-segment
Advanced tools
Comparing version 1.4.3 to 1.5.0
@@ -72,3 +72,3 @@ 'use strict' | ||
* @param {Object} params | ||
* @param {string} template default '{marker} [{timestamp}] {message}' | ||
* @param {string} params.template default '{marker} [{timestamp}] {message}' | ||
*/ | ||
@@ -78,2 +78,5 @@ const __init = function (params) { | ||
__setLevels(__levels) | ||
if (params && params.template) { | ||
__setTemplate(params.template) | ||
} | ||
} | ||
@@ -80,0 +83,0 @@ |
{ | ||
"name": "log-segment", | ||
"version": "1.4.3", | ||
"version": "1.5.0", | ||
"description": "logger with partition", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
@@ -195,3 +195,4 @@ # log-segment | ||
**Development** | ||
**Development** | ||
Just enable everything on console | ||
@@ -203,3 +204,4 @@ | ||
**Debug** | ||
**Debug** | ||
Enable only segments to focus on, at any levels, to find that bug | ||
@@ -211,3 +213,4 @@ | ||
**Beta** | ||
**Beta** | ||
Enable all segments, disable info and success level | ||
@@ -214,0 +217,0 @@ |
23332
540
342