4.0.0 (2021-01-13)
- Escaping: Remove unecessary branch (2708f16)
- 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)
- Mostly internal performance improvements but given the scale of changes labeling as a breaking change to trigger a major release.
3.0.1 (2020-10-16)
- Default handler: Optional call to avoid exception if process does not have an exit method (9cf7e6e)
3.0.0 (2020-09-01)
- defaultHandler: Exit on error option (d5447a0)
- defaultHandler: Changes the default behaviour to exit the process on the first error logged.
2.2.0 (2020-04-21)
- Build: Create & publish modern JS builds (032a0b2)
2.1.0 (2019-12-02)
- Default handler: Add showStack option (0dc246e)
2.0.0 (2019-11-21)
- defaultHandler: Change option name to
maxLevel
(ca22dec)
- addHandler: Allow log event filters to be specified (0f467b4)
- addHandler: Return the handler that was added. (322c7d1)
- 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
.
1.4.1 (2019-11-10)
- Package: Remove browser property of package.json (fe7a7d8)
1.4.0 (2019-10-17)
- Add missing argument (ba36d3e)
- Browser: Enable running in browser (6664f68)
1.3.0 (2019-09-03)
- Emit: Only attach stack to errors (9ef7b84)
- Throttling: Allow for throttling of events in handler (b11633a)
1.2.1 (2019-07-03)
- Handlers: Only add default handler if no other (a462fc5)
1.2.0 (2019-07-02)
- Default handler: Improve default handler and always use it (64b8620)
1.1.2 (2019-06-18)
- Package: Use @stencila/typescript-boilerplate and refactor (aa9cd89)