Releases: ThalesGroup/flume
Releases · ThalesGroup/flume
Release v2 alpha
Alpha release of flume v2.
The big change is that v2 works with slog instead of zap. It creates slog.Handlers, which can be dynamically reconfigured to different levels, and different backend Handlers.
Release 0.13.1
Just dependency updates.
Release 0.13.0
Added hooks. HookFuncs can be added at the factory level or the logger level, and are called right before an entry is logged. They can modify the fields included in the logged entry. See Hooks() and AddHooks().
Release 0.12.0
Added IsInfo() bool
to Logger interface. There are occasions where info logging code might still be performance sensitive, and should be disabled.
0.11.3
Release 0.11.2
- Configure(): Fixed a bug where the DefaultLevel setting was being ignored
- when passing a single, bare value as the
args
to logger functions, flume will add a key/value pair to the log entry, using an empty string as the key. This has been tweaked: if the value is anerror
, then the key will be "error"
Release 0.11.1
Add the options arg to the package level NewCore() function
Release 0.11.0
Adds an option for adding additional caller skips when building a Core. Useful when wrapping.
Release 0.10.3
- Make flumetest flags public. Can be easily toggled on and off in development while debugging tests
- Add a method to Core: WithArgs() is like With() but returns the concrete *Core type, for use by wrapper
Release 0.10.2
- Re-add WARN color to console logger