-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v2 Should be a backward-compatible release. But possibly some (very) old browsers are no longer supported because of the use of Function.prototype.name. Tested on Internet Explorer 11, Edge 41, Opera 49, Chrome 63. Please test before upgrading and report any issues in the [issue tracker](https://github.com/download/ulog/issues). Not tested in Safari because I do not have access to a Mac. Help in testing welcome! * Loggers are functions now. Supports debug-style API * Logger function defaults to level DEBUG * Logger function accepts a level name as first parameter * Added aliases 'verbose' and 'silly' for levels 'log' and 'trace', respectively * Ulog now supports hooks for logger extension and formatters * Ulog should now be a drop-in replacement for [debug](https://npmjs.com/package/debug)
- Loading branch information
Showing
12 changed files
with
539 additions
and
527 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "ulog", | ||
"version": "1.1.0", | ||
"version": "2.0.0-beta.1", | ||
"description": "Microscopically small universal logging library", | ||
"main": "node.js", | ||
"browser": "browser.js", | ||
|
@@ -12,7 +12,8 @@ | |
"build": "cross-env NODE_ENV=production npm run -S build-all", | ||
"release": "npm run -S clean && npm run -S build && npm run -S test", | ||
"test": "mocha *.spec.js", | ||
"dev": "webpack-dev-server --output-path /test --output-filename ulog.spec.js \"mocha-loader!./ulog.spec.js\" --content-base test --port 8888" | ||
"dev": "webpack-dev-server --output-path /test --output-filename ulog.spec.js \"mocha-loader!./ulog.spec.js\" --content-base test --port 8888", | ||
"debug": "webpack-dev-server --output-path /test --output-filename debug.spec.js \"mocha-loader!./debug.spec.js\" --content-base test --port 8888" | ||
}, | ||
"keywords": [ | ||
"universal-components", | ||
|
@@ -35,7 +36,7 @@ | |
"email": "[email protected]", | ||
"url": "http://StijnDeWitt.com" | ||
}, | ||
"copyright": "Copyright 2016 by [Stijn de Witt](http://StijnDeWitt.com). Some rights reserved.", | ||
"copyright": "Copyright 2017 by [Stijn de Witt](http://StijnDeWitt.com). Some rights reserved.", | ||
"license": "CC-BY-4.0", | ||
"licenseUrl": "https://creativecommons.org/licenses/by/4.0/", | ||
"repository": { | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.