A
A
agentx0012013-07-08 16:42:20
JavaScript
agentx001, 2013-07-08 16:42:20

Node Logger

Hello, can someone tell me a simple and lightweight logger for a node, but that it would display the file name and the string where it was called from. Let's say something like
//main.js var msg = 'Hello World'; Log(msg); // -> 13:48:57 [main.js:2] - Hello World
Well, or at least tell me in which direction to dig :)
PS: I searched, but found only creepy monsters, but I need something small :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Usanov, 2013-07-08
@agentx001

Look at this github.com/baryon/tracer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question