2.2.10 • Published 7 years ago
limberjack v2.2.10
Limberjack
LimberJack Logger
import Limber from "limberjack";
const log = new Limber("Application",{
file:"log.txt",
tags:["debugging","demo","nodejs"]
})
log.info("hello world")
// Console
/**
2016-12-01T14:22:18.397Z INFO:Application: hello world
**/
const newlog = log.extend("Section",{
tags:["specific"]
})
newlog.info("good bye world");
// Console
/**
2016-12-01T14:22:20.397Z INFO:Application:Section: good bye world
**/
Log File Output
{type:"info",tags:["debugging","demo","nodejs"],text:"hello world",timestamp:"2016-12-01T14:22:18.397Z"}
{type:"info",tags:["debugging","demo","nodejs","specific"],text:"good bye world",timestamp:"2016-12-01T14:22:20.397Z"}
CLI Usage
// Not all tags need to be selected
Limberjack --tags "debugging,demo" log.txt
Limberjack --level "info,error"
2.2.10
7 years ago
2.2.9
7 years ago
2.2.8
7 years ago
2.2.7
7 years ago
2.2.6
7 years ago
2.2.5
7 years ago
2.2.4
7 years ago
2.2.3
7 years ago
2.2.2
7 years ago
2.2.1
7 years ago
2.2.0
7 years ago
2.1.0
7 years ago
1.3.10
7 years ago
1.3.9
7 years ago
1.3.8
7 years ago
1.3.7
7 years ago
1.3.6
7 years ago
1.3.5
7 years ago
1.3.4
7 years ago
1.3.3
7 years ago
1.3.2
7 years ago
1.3.1
7 years ago
1.3.0
7 years ago
1.2.1
7 years ago