Releases: stencila/logga
Releases · stencila/logga
v4.0.0
4.0.0 (2021-01-13)
Bug Fixes
- Escaping: Remove unecessary branch (2708f16)
Performance Improvements
- Benchmarks: Add a higher precision benchmark (ab3e1d9)
- Benchmarks: Add benchmarking script (ffbbcc2)
- Benchmarks: Use plain string messages (503ce1a)
- Deps: Remove benmarking dependencies from package.json (8fa458a)
- Errors: Remove automatic error stack generation (2bd2aae)
- Fast time: Add a fastTime option (7259dba)
- Handlers: Use a global singleton, rather than event bus (5e20c8c)
- Output: Use template strings rather than JSON.stringify (e33e2f3)
- Output: Write to process.stderr directly (5d4db3b)
BREAKING CHANGES
- Mostly internal performance improvements but given the scale of changes labeling as a breaking change to trigger a major release.
v3.0.1
v3.0.0
v2.2.0
v2.1.0
v2.0.0
2.0.0 (2019-11-21)
Code Refactoring
- defaultHandler: Change option name to
maxLevel
(ca22dec)
Features
- addHandler: Allow log event filters to be specified (0f467b4)
- addHandler: Return the handler that was added. (322c7d1)
BREAKING CHANGES
- defaultHandler: Made because
level
had caused some confusion amongst users of this library and to be consistent with the same option inaddHandler
. - addHandler: Handler funtion is no longer optional for either
addHandler
orremoveHandler
. Used to default todefaultHandler
.