2.2.10 • Published 9 years ago

limberjack v2.2.10

Weekly downloads
6
License
ISC
Repository
-
Last release
9 years ago

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

9 years ago

2.2.9

9 years ago

2.2.8

9 years ago

2.2.7

9 years ago

2.2.6

9 years ago

2.2.5

9 years ago

2.2.4

9 years ago

2.2.3

9 years ago

2.2.2

9 years ago

2.2.1

9 years ago

2.2.0

9 years ago

2.1.0

9 years ago

1.3.10

10 years ago

1.3.9

10 years ago

1.3.8

10 years ago

1.3.7

10 years ago

1.3.6

10 years ago

1.3.5

10 years ago

1.3.4

10 years ago

1.3.3

10 years ago

1.3.2

10 years ago

1.3.1

10 years ago

1.3.0

10 years ago

1.2.1

10 years ago