All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
8.0.3 (2021-12-21)
Maintenance Improvements
8.0.2 (2021-10-22)
- Remove
has-ansi
dependency due to security issues (#6) (5813577) (Gareth Jones)
8.0.1 (2021-09-10)
- Do not apply decorators on empty message (e2d03d7)
8.0.0 (2021-09-02)
- Node.js version 10 or later is required (dropped support for v6 and v8)
- Allow to customize
env
in writer constructor (01bfaae)
- Drop support for Node.js versions below v10 (83bba3e)
- Upgrade
has-ansi
to v4 (caf610c) - Upgrade
supports-color
to v8 (8b6f1d5) - Upgrade to
cli-color
v2 (7ebe5f8)
7.0.0 (2019-04-10)
- upgrade to log v6 (2c6a2ee)
- Drop support for log v5
6.1.0 (2019-04-09)
- seclude NodeLogWriter class (2399f45)
6.0.1 (2019-04-08)
6.0.0 (2019-04-08)
- upgrade configuration ot use LogWriter (7ac81e3)
- Removed format and formatEventMessage utilties
5.1.0 (2019-03-19)
- dim log timestamps (f85a103)
5.0.0 (2019-03-19)
- move from util to lib (cf7ce81)
- move from util to lib (f8f93c5)
- move from util to lib (c7e3de5)
- move from util to lib (f9fb731)
- move from util to lib (0d12bfa)
- upgrde to log v5 (2018502)
- Move util/resolve-format-parts.js to lib/resolve-format-parts.js
- Move util/level-prefixes.js to lib/level-prefixes.js
- Move util/get-namespace-prefix.js into lib/get-namespace-prefix.js
- Move util/format.js into lib/format.js
- util/format-event-message.js was moved to lib/format-event-message.js
- Switch from log v4 to logv5
4.0.0 (2019-03-18)
- ensure private modules are in lib/private (73b75c5)
- upgrade to log v4 (703815b)
- support LOG_TIME (e750b82)
- Switch to log v4
3.2.1 (2018-11-29)
3.2.0 (2018-11-29)
- rename to log-node (e4209d9)
3.1.1 (2018-10-02)
- do not wrap raw strings that contain ansi codes (1027877)
3.1.0 (2018-10-02)
- format util (5d2d8fc)
- seclude inspectDepth resolution to lib (073351d)
- seclude partsResolver util (9a9b101)
- support raw string placeholder variant (f6fd4ac)
3.0.0 (2018-09-28)
- utils/format-message.js was renamed to utils/format-event-message.js
2.3.1 (2018-08-06)
- do not decorate placeholders with message decorators (dcaa9ca)
2.3.0 (2018-06-05)
- show warning logs in yellow when colors enabled (fe7564b)
2.2.0 (2018-06-05)
- make error colors red when colors are enabled (9682138)
- Support logger.messageContentDecorator function (f194169)
2.1.1 (2018-06-05)
2.1.0 (2018-06-04)
- use less confusing "i" symbol for notice (8c545f5)
- improve string formatting (7d2ea73)
2.0.0 (2018-06-01)
-
Drop support for log4 v2
-
Drop support for Node.js v4
-
Switch formatter to rely on sprintf-kit instead of native Node.js one
-
Drop support for LOG4_COLORS env var (instead DEBUG_COLORS should be used)
-
Change presentation of prefixes
-
Hndler is exposed as a function and needs to be invoked:
require("log4-nodejs")();