loglevel

Minimal lightweight logging for JavaScript, adding reliable log level methods to wrap any available console.log methods

MIT License

Downloads
34.6M
Stars
2.6K
Committers
31

Bot releases are visible (Hide)

loglevel - Latest Release

Published by pimterry about 1 month ago

loglevel - v1.8.1

Published by pimterry almost 2 years ago

loglevel - v1.6.8

Published by pimterry over 4 years ago

loglevel - v1.6.7

Published by pimterry over 4 years ago

loglevel - v1.6.6

Published by pimterry almost 5 years ago

Fix bugs in v1.6.5, which caused issues in node.js & IE < 9

loglevel - v1.6.5

Published by pimterry almost 5 years ago

Ensure the provided message is included when calling trace() in IE11

loglevel - v1.6.4

Published by pimterry almost 5 years ago

Ensure package.json's 'main' is a fully qualified path, to fix webpack issues

loglevel - v1.6.3

Published by pimterry almost 5 years ago

Avoid TypeScript type conflicts with other global log types (e.g. core-js)

loglevel - v1.6.2

Published by pimterry over 5 years ago

Include TypeScript type definitions in the package itself

loglevel - v1.6.1

Published by pimterry almost 7 years ago

Various small documentation & test updates

loglevel - v1.6.0

Published by pimterry almost 7 years ago

Add a name property to loggers and add log.getLoggers() (#114), and recommend unpkg as CDN instead of CDNJS.

loglevel - v1.5.1

Published by pimterry about 7 years ago

Fix bug (#112) in level-persistence cookie fallback, which failed if it wasn't the first cookie present

loglevel - 1.5.0

Published by pimterry about 7 years ago

Fix log.debug (#111) after V8 changes deprecating console.debug, check for 'window' upfront (#104), and add '.log' alias for '.debug' (#64)

loglevel - 1.4.1

Published by pimterry over 8 years ago

Reorder UMD (#92) to improve bundling tool compatibility

loglevel - 1.4.0

Published by pimterry about 9 years ago

Add getLevel(), setDefaultLevel() and getLogger() functionality for more fine-grained log level control

loglevel - 1.3.1

Published by pimterry over 9 years ago

With the new optional persistence, stop unnecessarily persisting the initially set default level (warn)

loglevel - 1.3.0

Published by pimterry over 9 years ago

Make persistence optional in setLevel, plus lots of documentation updates and other small tweaks.

loglevel - 1.2.0

Published by pimterry almost 10 years ago

New plugin API! Plus various bits of refactoring and tidy up, nicely simplifying things and trimming the size down.

loglevel - 1.1.0

Published by pimterry about 10 years ago

Added support for including loglevel with preprocessing and .apply() (#50), and fixed QUnit dep version which made tests potentially unstable

loglevel - 1.0.0

Published by pimterry about 10 years ago

Official stable release! Fixed a bug with localStorage in Android webviews, improved CommonJS detection, and added noConflict().