Answer the question
In order to leave comments, you need to log in
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question