Skip to content

Releases: ThalesGroup/flume

Release 0.13.1

27 Feb 20:41
Compare
Choose a tag to compare

Just dependency updates.

Release 0.13.0

30 Jul 23:54
Compare
Choose a tag to compare

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

09 Oct 19:00
Compare
Choose a tag to compare

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

03 Oct 20:22
Compare
Choose a tag to compare

flumetest.Start() was not concurrency safe: the buffer it used to accumulate logs while the test was running was not safe for concurrent use. Now uses a buffer protected by a mutex.

Release 0.11.2

03 Oct 18:41
Compare
Choose a tag to compare
  • 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 an error, then the key will be "error"

Release 0.11.1

26 Sep 22:19
Compare
Choose a tag to compare

Add the options arg to the package level NewCore() function

Release 0.11.0

26 Sep 22:01
Compare
Choose a tag to compare

Adds an option for adding additional caller skips when building a Core. Useful when wrapping.

Release 0.10.3

20 Sep 20:13
Compare
Choose a tag to compare
  • 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

20 Sep 18:46
Compare
Choose a tag to compare
  • Re-add WARN color to console logger

Release 0.10.0

19 Sep 22:18
Compare
Choose a tag to compare
  • Removed deprecated methods
  • Expose the core logger implementation (via NewCore()), which other packages can use to adapt to other logging interfaces
  • Updated the build to use go modules, go1.13, and golangci-lint