Comparing version 0.0.8 to 0.0.9
{ | ||
"name": "simplog", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "A very simple logging module. Because all the others are too much.\n This module relies on the node util module to provide timestamping and formatting of log messages.\n Messages are written to stdout via util.log.", | ||
@@ -5,0 +5,0 @@ "main": "log.js", |
@@ -20,3 +20,3 @@ # simplog | ||
log.warn "this is a warning" | ||
log.debug "this is a debug message and will only show up if process.env.DEBUG is truthy" | ||
log.debug "this is a debug message and will only show up if process.env.DEBUG or window.debug is truthy" | ||
log.event "this will log with the type [EVENT] and will only show up if process.env.DEBUG is truthy" | ||
@@ -41,2 +41,2 @@ | ||
you can make `process.env.NOLOGPID` truthy and it will go away. | ||
you can make `process.env.NOLOGPID` truthy and it will go away. If there's something called window in the global scope, we'll skip the PID in any output. Reasonable? |
Sorry, the diff of this file is not supported yet
7038
20