1.0.8 • Published 7 years ago

scons v1.0.8

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

Signed console (scons)

Signed console will automaticly print time, function, file in fixed width line. Useful for faster debugging, when you don't want to write any identification details for every log, like:

console.log(1); console.log("end") // etc.

Use it like standard console, for example:

var scons = require("scons");
scons.log()

will print

-21:11:33.315-----------------------------------/someFile.js:6:11 someFunction() -

and

scons.log("abc", {a: "a"})

in function "someFunction()" will print

-21:11:33.315----------------------------------------------/file.js:6:11 someFunction() -
abc
{ a: 'a' }

Usage

scons.log(...) scons.warn(...) scons.error(...)

License

MIT

1.0.8

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago