v 3.0.0
- Removal of deprecated
priority
. ConsolePlugin
for nodejs now have adisableColors
(default false) constructor argument.ConsolePlugin
for nodejs now have get/set for color to enable or disable after creation.Error
object introduced in2.6.0
is no longer generated by the yolog instance but will only be passed in case an error object is passed as an argument into yolog.ConsolePlugin
have been updated with asetDateFormatMethod
function, allowing users to change to preferred method instead of pre-defined.
v 2.8.0
- Ability to toggle
errors
on and off.
v 2.6.3
- Deprecated
priority
in plugins. - Made
setTimestampFunction
,set
,addPlugin
,removePlugin
in Yolog returnthis
(fluent). - Made
set
in Plugin returnthis
(fluent).
v 2.6.0
- Introduced a new parameter (error) for plugins.
- Introduced new property (errorObject) on event.
- Yolog will now generate an error object in its #log function which will be passed to plugins and events.
- Marked #formatter method as
async
for future (possible) plans.
v 2.5.0
- Minor changes for the build system and code generation.
- Security patches.
v 2.4.0
- Events are now async.
v 2.3.0
- Yolog now uses
promise.allSetteled
instead ofpromise.all
to not crash on plugin or event errors.
v 2.2.0
- Changed from
standard
package to@jitesoft/eslint-config
. - Fixed all lint errors.
- Updated build process to not create a new package file for the project (hence including the required packages).
v 2.1.0
- Removed the node native
util
call from mixed-platform code. - Added
@jitesoft/sprintf
dependency to take over forutil
. - Updated to latest
@jitesoft/babel-preset-main
. - Some minor fixes.
v 2.0.0
- Full re-write, moved package in under the @jitesoft org.
- New Plugin system.
- New build setup (using babel and webpack).
- Browser and Node version with identical API.
v 1.0.0
- Refactored the code to follow a standard that fits author better.
- Removed the
depth
property and introduced asetObjectMaxDepth
method to use instead. get(tag: string)
no longer returns the full tag object when called, tag is now required.- Replaced setcolor method with setColor (spelling fix).