Skip to content

Commit

Permalink
2.0.0-beta.4
Browse files Browse the repository at this point in the history
Removed logging statement in `ulog/debug` endpoint
  • Loading branch information
Download committed Dec 2, 2018
1 parent 5b49bef commit 98e83aa
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 10 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ulog <sub><sup>v2.0.0-beta.3</sup></sub>
# ulog <sub><sup>v2.0.0-beta.4</sup></sub>
### Microscopically small universal logging library

[![npm](https://img.shields.io/npm/v/ulog.svg)](https://npmjs.com/package/ulog)
Expand Down Expand Up @@ -65,8 +65,8 @@ You should also be able to use e.g. Yarn etc.
If you want the file for the browser to include in your project yourself,
you can download it from here.

* [ulog.umd.js](https://cdn.rawgit.com/download/ulog/2.0.0-beta.3/ulog.umd.js) (~3kB, source)
* [ulog.min.js](https://cdn.rawgit.com/download/ulog/2.0.0-beta.3/ulog.min.js) (~2kB, minified)
* [ulog.umd.js](https://cdn.rawgit.com/download/ulog/2.0.0-beta.4/ulog.umd.js) (~3kB, source)
* [ulog.min.js](https://cdn.rawgit.com/download/ulog/2.0.0-beta.4/ulog.min.js) (~2kB, minified)


## Include in your app
Expand Down Expand Up @@ -94,7 +94,7 @@ const log = ulog('my-module')
If you want, you can import `ulog` with a script tag:

```html
<script src="https://cdn.rawgit.com/download/ulog/2.0.0-beta.3/ulog.min.js"></script>
<script src="https://cdn.rawgit.com/download/ulog/2.0.0-beta.4/ulog.min.js"></script>
<script src="myscript.js"></script>
```
*myscript.js*
Expand Down
1 change: 0 additions & 1 deletion debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ ulog.formats.push(format);
module.exports = ulog;

function format(logger, method, args) {
console.info('format', 'logger', logger, 'method', method, 'args', args)
args.unshift(time(), logger.name.substring(0,18).padEnd(20, ' '))
}

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ulog",
"version": "2.0.0-beta.3",
"version": "2.0.0-beta.4",
"description": "Microscopically small universal logging library",
"main": "node.js",
"unpkg": "ulog.min.js",
Expand Down
2 changes: 1 addition & 1 deletion ulog.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function create(n,r) {
function extend(o,p,l) {
if (o.log) return
o.NONE = 0
o.ulog = {version:'2.0.0-beta.3'}
o.ulog = {version:'2.0.0-beta.4'}
for (var key in LVL) {o[key] = LVL[key]}
Object.defineProperty(o, 'level', {
get: function(){return l !== undefined ? l : p && p.level},
Expand Down
2 changes: 1 addition & 1 deletion ulog.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ulog.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function create(n,r) {
function extend(o,p,l) {
if (o.log) return
o.NONE = 0
o.ulog = {version:'2.0.0-beta.3'}
o.ulog = {version:'2.0.0-beta.4'}
for (var key in LVL) {o[key] = LVL[key]}
Object.defineProperty(o, 'level', {
get: function(){return l !== undefined ? l : p && p.level},
Expand Down

0 comments on commit 98e83aa

Please sign in to comment.