Dario Marcelino
9e61ecb64b
Updated example/stdout.js to match debug current behaviour
2015-03-13 17:30:11 +00:00
Dario Marcelino
05d9fa7f8c
Renamed example/stderr.js to stdout.js
2015-03-13 17:27:37 +00:00
Nathan Rajlich
4c8e3d3e5e
example: remove console.info() log usage
...
Annoying since the Web Inspector will add an exclamation point
with a blue circle around it to any debug() calls when `info()`
is used.
2014-07-15 15:42:11 -07:00
Nathan Rajlich
e5a4ef2c94
example: add "Content-Type" UTF-8 header to browser example
2014-07-15 15:09:24 -07:00
Tim Oxley
dd32a4c902
Make console logging function configurable.
...
Split log() into 2 methods: formatArgs() and log(), allowing log to be
overridden on a per-namespace or global level. Global log settings trump
per-namespace settings.
2014-06-07 23:34:39 -07:00
Nathan Rajlich
7df6b473ca
example: fix "browser.html" example
...
To use new browserify standalone build
2014-06-01 10:41:09 -07:00
TJ Holowaychuk
ae9f6d3363
fix browser example
2013-04-16 07:00:23 -07:00
TJ Holowaychuk
97a362f7d0
add debug(err) support. Closes #46
2013-04-16 06:54:38 -07:00
Tj Holowaychuk
8ea07bc911
Fixed: persist client-side variant again. Closes #9
2012-02-02 16:46:21 -08:00
Tj Holowaychuk
b435dd7d17
better browser example
2012-02-01 12:14:41 -08:00
TJ Holowaychuk
f72d08a103
Merge pull request #7 from TooTallNate/master
...
Make the browser version work in old browsers
2012-02-01 12:15:35 -08:00
Nathan Rajlich
97c6ddf070
Add debug.enable and debug.enabled APIs.
...
Makes wildcard filters work once again.
2012-02-01 11:54:32 -08:00
Tj Holowaychuk
8ef81d263e
examples
2012-02-01 11:53:15 -08:00
Tj Holowaychuk
fcbf168c24
example
2012-02-01 11:52:48 -08:00
Tj Holowaychuk
71cd41cfd5
pad diff with same color
2012-02-01 11:52:24 -08:00
Tj Holowaychuk
d7333c6ac6
move diff to end
2012-02-01 11:40:03 -08:00
Nathan Rajlich
81ed7be977
Don't use localStorage, require a debug.enable function instead.
2012-02-01 11:02:22 -08:00
Tj Holowaychuk
ecf3e067e1
Added quick hack of a client-side version
...
obviously wouldnt work for older browsers but who
cares ;)
2012-01-30 09:38:43 -08:00
Tj Holowaychuk
c9a03d1b89
slower example
2012-01-26 16:28:07 -08:00
Tj Holowaychuk
c47b762a7e
fixed example
2012-01-26 16:28:03 -08:00
Tj Holowaychuk
44b1ffcce6
color ms diff
2012-01-26 16:27:48 -08:00
Tj Holowaychuk
8e0b97bc15
Added millisecond diff when isatty, otherwise UTC string
2012-01-26 16:22:08 -08:00
TJ Holowaychuk
0620d027cb
Added wildcard support
2012-01-22 10:25:01 -08:00
Tj Holowaychuk
73fce842b1
Initial commit
2011-11-28 17:08:27 -08:00