227 Commits

Author SHA1 Message Date
Nathan Rajlich
24cc5c04fc Release 2.1.1 2.1.1 2014-12-29 13:48:58 -08:00
Nathan Rajlich
df3e0eabdb browser: use typeof to check for console existence
It's a global, so we must check with typeof otherwise
an error will be thrown if `console` is undefined.
2014-12-29 13:43:38 -08:00
Nathan Rajlich
4fd6f3985e Readme++ 2014-12-29 13:28:12 -08:00
Nathan Rajlich
a98c283095 Merge pull request #143 from marmolejo/master
add support for chrome apps
2014-12-29 13:20:39 -08:00
Nathan Rajlich
85bd49974c Merge pull request #149 from akaustel/master
Added windows usage remarks
2014-12-29 13:10:32 -08:00
Nathan Rajlich
055a60b05b Merge pull request #141 from bright/bower_json
Add bower.json to properly support bower install
2014-12-29 13:09:21 -08:00
Nathan Rajlich
3a285bef04 Merge pull request #166 from mooyoul/ie8
browser: Fixed that no logs output on IE8/9
2014-12-29 13:08:42 -08:00
Moo Yeol, Lee (Prescott)
6af0b4d764 browser: check for console.log truthiness instead
Related to PR #166
2014-12-30 04:19:49 +09:00
Moo Yeol, Lee (Prescott)
4dce97e6db browser: Fixed that no logs output on IE8/9
IE 8/9 reports console methods as objects when using the typeof operator.
https://web.archive.org/web/20111123190115/http://whattheheadsaid.com/2011/04/internet-explorer-9s-problematic-console-object

Closes #148.
2014-12-30 02:25:34 +09:00
akaustel
7d6781517f Added windows usage remarks 2014-10-24 11:28:14 +03:00
Zeus Gómez Marmolejo
3f97ec6f00 better checking for undefined value 2014-10-17 12:08:54 +02:00
Nathan Rajlich
953162b4fa Release 2.1.0 2.1.0 2014-10-15 14:56:29 -07:00
Nathan Rajlich
e4d021a223 node: implement DEBUG_FD env variable support
Closes #146.
2014-10-15 14:19:59 -07:00
Nathan Rajlich
019c9ed81e package: update "browserify" to v6.1.0 2014-10-15 12:27:53 -07:00
Zeus Gómez Marmolejo
de8695b6be corrected PR for other browsers
Sorry, this should work now. window.localStorage is undefined in chrome apps.
2014-10-08 17:27:33 +02:00
Zeus Gómez Marmolejo
e9c730a6e2 add support for chrome apps 2014-09-30 18:34:48 +02:00
Nathan Rajlich
f39956ad29 Merge pull request #135 from panuhorsmalahti/master
Add license to package.json
2014-09-25 09:28:40 -07:00
Piotr Mionskowski
4597df6bd8 Add bower json to properly support bower install 2014-09-25 16:58:26 +02:00
Panu Horsmalahti
7b81f18ab1 Add version to package.json
Add version to package.json to work with license tools.
2014-09-11 12:53:06 +03:00
Nathan Rajlich
c61ae82bde Release 2.0.0 2.0.0 2014-09-01 00:23:20 -07:00
Nathan Rajlich
c97a5c1294 dist: recompile 2014-09-01 00:22:46 -07:00
Nathan Rajlich
47f7213611 package: update "browserify" to v5.11.0 2014-09-01 00:21:32 -07:00
Nathan Rajlich
716c57f647 Merge pull request #129 from stephenmathieson/stderr
node.js: Use stderr rather than stdout for logging
2014-08-08 09:32:47 -07:00
Stephen Mathieson
345996b982 node.js: Use stderr rather than stdout for logging
Closes #120
2014-08-05 13:49:16 -04:00
Nathan Rajlich
abc10a5912 Release 1.0.4 1.0.4 2014-07-15 16:16:49 -07:00
Nathan Rajlich
6fd34ac517 dist: recompile 2014-07-15 16:15:07 -07:00
Nathan Rajlich
592429f025 debug: prefer an instance log() function over the global one
Fixes #119.
2014-07-15 16:11:50 -07:00
Nathan Rajlich
00d5bdf9a4 dist: recompile 2014-07-15 15:56:50 -07:00
Nathan Rajlich
6f278e3b4c browser: place %c marker after the space character
This way, in Firefox 31, the "main content" of the debug
call will not have any extra whitespace on the left of it.
2014-07-15 15:55:52 -07:00
Nathan Rajlich
7278fcc4e2 README++ 2014-07-15 15:50:05 -07:00
Nathan Rajlich
e843826527 Merge pull request #116 from wryk/patch-1
update documentation about styled console logs
2014-07-15 15:43:16 -07: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
09e31bb47a dist: recompile 2014-07-15 15:42:06 -07:00
Nathan Rajlich
998d85bac9 browser: reset the "content" color via color: inherit
Necessary for Firefox v31, which seems to retain the previous
color from a previous %c color formatter when an empty string
is given.
2014-07-15 15:41:03 -07:00
Nathan Rajlich
165e937e6d browser: add colors support for Firefox >= v31
Part of #116.
2014-07-15 15:40:16 -07:00
Nathan Rajlich
e5a4ef2c94 example: add "Content-Type" UTF-8 header to browser example 2014-07-15 15:09:24 -07:00
Nathan Rajlich
3add08ea0c dist: recompile 2014-07-15 15:08:23 -07:00
Nathan Rajlich
93c759961d Release 1.0.3 1.0.3 2014-07-09 09:17:18 -07:00
Nathan Rajlich
c8aa92be6d Merge pull request #122 from seegno/enhancement/multiple-wildcards
Add support for multiple wildcards in namespaces
2014-07-08 07:34:29 -07:00
Tiago Ribeiro
d92fe0e6e0 Add support for multiple wildcards in namespaces 2014-07-08 12:02:38 +01:00
Nathan Rajlich
2f70264aad browser: fix lint 2014-06-16 17:24:54 -07:00
Mathieu Gallé-Tessonneau
aad769a887 update documentation about styled console logs
Firefox now support styled console logs since version 31 (actually on aurora) : https://hacks.mozilla.org/2014/05/editable-box-model-multiple-selection-sublime-text-keys-much-more-firefox-developer-tools-episode-31/
2014-06-12 10:30:19 +02:00
Nathan Rajlich
46939bcc1a Release 1.0.2 1.0.2 2014-06-10 17:50:47 -07:00
Nathan Rajlich
558f604f07 dist: recompile 2014-06-10 15:03:40 -07:00
Nathan Rajlich
abe20e18a8 Merge pull request #113 from gscottolson/master
Updated color palette for white backgrounds.
2014-06-10 14:20:38 -07:00
G Scott Olson
d738362777 Restore color order. 2014-06-10 17:17:41 -04:00
G Scott Olson
5f54356b6d Update color palette. 2014-06-10 16:57:20 -04:00
Nathan Rajlich
57f1cf2f30 History: consistent spacing 2014-06-09 11:26:47 -07:00
Nathan Rajlich
68e8139416 Merge pull request #108 from timoxley/console_error
Make console.x configurable.
2014-06-07 23:53:05 -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