ulog

The universal logger

MIT License

Downloads
18.8K
Stars
87
Committers
5

Bot releases are hidden (Show)

ulog - v2.0.0-beta.19 Latest Release

Published by Download about 3 years ago

  • Fixed #69
  • Simplified .gitignore
  • Updated all dependencies
ulog - v2.0.0-beta.18

Published by Download over 3 years ago

Attempting to fix #46

ulog - v2.0.0-beta.17

Published by Download over 3 years ago

2.0.0-beta.17

  • Changed build script to update version numbers in tutorial and vs
  • Work in progress on vs loglevel
  • Removed console.info statement
ulog - v2.0.0-beta.16

Published by Download over 3 years ago

Tutorial, compare vs debug

  • Made mode debug depend on levels i.s.o other way around
  • In core, first add mod, then call init() on it
  • Simplified lazy loading by adding mods/lazy
  • Only monitor log and debug config keys
  • Added a format cr to allow insertion of carriage return
  • Added a tutorial
  • Added a comparison vs debug
ulog - v2.0.0-beta.15

Published by Download over 3 years ago

Fixed missing screenshot

  • Added screenshot to list of files in package.json
  • Updated README
ulog - v2.0.0-beta.14

Published by Download over 3 years ago

Fine-tuning

  • Slightly updated default formats
  • Updated the README
  • Added a screenshot to illustrate alignment
ulog - v2.0.0-beta.13

Published by Download over 3 years ago

The lucky number release

  • Added full.bundle.js to git, it was somehow missed
  • Fixed some bugs in the docs
ulog - v2.0.0-beta.12

Published by Download over 3 years ago

Improved nearly everything

  • Upgraded formatting to kurly v2 which supports static pipes
  • Implemented outputs as Kurly formats
  • Include kurly in ulog as standard
  • Added colors
  • Added alignment
  • Lazy loading
ulog - v2.0.0-beta.11

Published by Download over 3 years ago

Fix issue in IE/Safari, update deps

  • IE and old Safari don't support backtracking lookups in regexes, removed it
  • Updated all (dev) dependencies

Fixes #40

ulog - v2.0.0-beta.10

Published by Download almost 4 years ago

Guard against location not being defined

  • Added a guard for location not being defined to mod config
  • Upgraded all dependencies
  • Fixed #35
  • Added full.min.js to .gitignore
ulog - v2.0.0-beta.9

Published by Download almost 4 years ago

2.0.0-beta.9: minified files now included in NPM package for unpkg

  • Renamed main.js and main.bundle.js to ulog.js and ulog.bundle.js for consistency
  • Removed annoying error message for missing config file
  • Some cleanup of comments and fixes in README
ulog - v2.0.0-beta.8

Published by Download almost 4 years ago

Completely rewritten from the ground up

ulog - v2.0.0-beta.7

Published by Download about 4 years ago

ulog - v2.0.0-beta.6

Published by Download almost 6 years ago

API improvements

  • 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

New in beta.2:
In node version, file descriptor is exposed on console.fd so it can be used in extensions.

New in beta.3:
Added a new endpoint ulog/debug to be used to get the functionality from debug while using ulog. At the moments this only adds a very simple formatter but I'm hoping to improve on it in the future.

Bugfix in beta.4:
Removed logging statement from ulog/debug endpoint.

Bigfix in beta.5:
Added a missing comma.

New in beta.6:
Made ulog/debug use only es5 code. Added formatting of time elapsed since last call.

Backward compatible

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.
Not tested in Safari because I do not have access to a Mac. Help in testing welcome!

ulog - v2.0.0-beta.5

Published by Download almost 6 years ago

API improvements

  • 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

New in beta.2: In node version, file descriptor is exposed on console.fd so it can
be used in extensions.

New in beta.3: Added a new endpoint ulog/debug to be used to get the functionality from debug while using ulog. At the moments this only adds a very simple formatter but I'm hoping to improve on it in the future.

Bugfix in beta.4: Removed logging statement from ulog/debug endpoint.

Bigfix in beta.5: Added a missing comma.

Backward compatible

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.
Not tested in Safari because I do not have access to a Mac. Help in testing welcome!

ulog - v2.0.0-beta.4

Published by Download almost 6 years ago

API improvements

  • 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

New in beta.2: In node version, file descriptor is exposed on console.fd so it can
be used in extensions.

New in beta.3: Added a new endpoint ulog/debug to be used to get the functionality from debug while using ulog. At the moments this only adds a very simple formatter but I'm hoping to improve on it in the future.

Bugfix in beta.4: Removed logging statement from ulog/debug endpoint.

Backward compatible

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.
Not tested in Safari because I do not have access to a Mac. Help in testing welcome!

ulog - v2.0.0-beta.3

Published by Download almost 6 years ago

API improvements

  • 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

New in beta.2: In node version, file descriptor is exposed on console.fd so it can
be used in extensions.

New in beta.3: Added a new endpoint ulog/debug to be used to get the functionality from debug while using ulog. At the moments this only adds a very simple formatter but I'm hoping to improve on it in the future.

Backward compatible

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.
Not tested in Safari because I do not have access to a Mac. Help in testing welcome!

ulog - v2.0.0-beta.2

Published by Download almost 7 years ago

API improvements

  • 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

New in beta.2: In node version, file descriptor is exposed on console.fd so it can
be used in extensions.

Backward compatible

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.
Not tested in Safari because I do not have access to a Mac. Help in testing welcome!

ulog - v2.0.0-beta.1

Published by Download almost 7 years ago

API improvements

  • 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

Backwards compatible

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. Not tested in Safari because I do not have access to a Mac. Help in testing welcome!

ulog - v1.1.0

Published by Download almost 7 years ago

Support configuration via localStorage