Minimal lightweight logging for JavaScript, adding reliable log level methods to wrap any available console.log methods
MIT License
Bot releases are hidden (Show)
Published by pimterry almost 2 years ago
Published by pimterry over 4 years ago
Published by pimterry over 4 years ago
Published by pimterry almost 5 years ago
Fix bugs in v1.6.5, which caused issues in node.js & IE < 9
Published by pimterry almost 5 years ago
Ensure the provided message is included when calling trace() in IE11
Published by pimterry almost 5 years ago
Ensure package.json's 'main' is a fully qualified path, to fix webpack issues
Published by pimterry almost 5 years ago
Avoid TypeScript type conflicts with other global log
types (e.g. core-js)
Published by pimterry over 5 years ago
Include TypeScript type definitions in the package itself
Published by pimterry almost 7 years ago
Various small documentation & test updates
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.
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
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)
Published by pimterry over 8 years ago
Reorder UMD (#92) to improve bundling tool compatibility
Published by pimterry about 9 years ago
Add getLevel(), setDefaultLevel() and getLogger() functionality for more fine-grained log level control
Published by pimterry over 9 years ago
With the new optional persistence, stop unnecessarily persisting the initially set default level (warn)
Published by pimterry over 9 years ago
Make persistence optional in setLevel, plus lots of documentation updates and other small tweaks.
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.
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
Published by pimterry about 10 years ago
Official stable release! Fixed a bug with localStorage in Android webviews, improved CommonJS detection, and added noConflict().