Releases: MFlisar/Lumberjack
Releases · MFlisar/Lumberjack
v3.0.2
v3.0.1
v3.0.0
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0
- removed
ILogGroup
interface and replaced by simpleStrings
- added
ILogFilter
: ability to filter based on groups and priority on a per tree level - setting group of log messages is now done via
L.withGroup(group).d(...)
instead of via a lot of custom functions inL
- logging labelel values is now done with the help of
L.labeledValueBuilder()
instead of via a custom function inL
Here's a little upgrade help to upgrade from v1 to v2:
If you have defined your groups as constants in a file called L
and all groups are named like L.G_...
, i.e. L.G_GROUP1
, L.G_GROUP2
and so on, following regex replacemeent will work:
With regex enabled, replace in all files L.d\(L.G_([A-Za-z._]*),\s+
with L.withGroup(L.G_$1).d(
. Adjust this to your needs and call it with all log levels you're using (d
, e
, v
, i
, w
)