Releases: eartharoid/leekslazylogger
Releases · eartharoid/leekslazylogger
v4.0.0
Changelog
Changed everything, read the new docs at https://logger.eartharoid.me/getting-started/.
v3.0.2
Changelog
- Updated to the latest version of leeks.js
- Added hex short codes (
&#...
and&#!...
) - Fixed types (maybe?)
v3.0.1
Changelog
- Add
@eartharoid/deep-merge
- Make format placeholders regex less strict (
{{ TIMESTAMP }}
is now valid as well) - Change extension registeration
v3.0.0
v3 is here, with shiny new features, better code, less weird functionality, and more customisation.
Added
- Custom log levels
- Log extras (
Logger#<type>(text, colours, ...extras)
) - Option to split stdout and stderr log files
- Option to disable log file header
Removed
- Deprecated
Logger#f
andLogger#format
functions (useLogger.f
instead)
Changed
- Everything
- Now uses [email protected]
v2.0.3
(I forgot to do this for 2.0.1 and 2.0.2)
Changelog
- Added prefixes
- Deprecated
Logger#multi()
as it was never actually necessary (oops!) - Cleaned up and shortened code (there was a lot of unnecessary code)
Also: - Cleaned up tests slightly
v2.0.0
v2 is finally here!
Installation
Visit the wiki for installation and usage instructions.
Upgrading from v1.x
See the wiki.
Changed since v1.x
- Now uses classes (
new Logger()
instead oflog.init()
) log.format()
with short codes- Better custom log types
- More options
- Improved file logging (informational headers, 1 file per day, cleans up automatically, not just on startup)
- A new way to colour text (with overrides and custom types) with HEX, RGB, 8Bit colours (and short codes)
- More cool features
Changed since v2.0.0-alpha.6
- Nothing important (very minor stuff, improved some code but works the same)
v2.0.0-alpha.6
Changed:
- Fixed logging Error objects returning an empty object
- Updated to use latest leeks.js
v2.0.0-alpha.5
Changed:
- Fixed
debug
option
v2.0.0-alpha.4
NPM | Yarn
Install with npm i leekslazylogger
Changed:
- Changed
&b
,&!b
,&!8
,&9
,&!9
inline colour codes (swapped b and 9, fixed 8) - Fixed custom types with no foreground colour
- Fixed JSON stringifying
- Fixed undefined errors
- Removed
translateCodes
option - Added
log.format()
andlog.f()
functions for inline codes