All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
0.17.0 - 2020-08-26
KVLogger
interface for variadic logger interfaces- Basic adapter turning
Logger
intoKVLogger
0.16.2 - 2020-01-16
WithField
return type
0.16.1 - 2020-01-16
- Log event assertion output
0.16.0 - 2020-01-15
LoggerContext
interfaceLoggerFacade
interface (combination ofLogger
andLoggerContext
)LoggerContextFunc
logger function wrapperNoopHandler
no-op error handlerTestLoggerContext
,TestLoggerSet
test error handlers
- Improved conformance tests
- gRPC format log functions
NewNoopLogger
no-op logger. UseNoopLogger
instead.NewTestHandler
test handler factory. UseTestHandler
instead.LoggerTestSuite
test suite. Use the newconformance
package instead.LogEventsEqual
function. UseLogEvent.Equals
andLogEvent.AssertEquals
instead.
0.15.1 - 2019-11-12
WithField
as a shortcut forWithFields
- Github Actions workflow
0.15.0 - 2019-08-22
- Import path to
logur.dev/logur
0.14.0 - 2019-08-22
- Adapter implementations. Use the ones from the new organization
- Integration implementations (with external dependencies). Use the ones from the new organization
0.13.0 - 2019-08-22
- Adapter implementations. Use the ones from the new organization
- Integration implementations (with external dependencies). Use the ones from the new organization
0.12.0 - 2019-08-16
- Renamed
ContextualLogger
tofieldLogger
- Examples are moved to a separate module
- Error handler (use emperror.dev/handler/logur instead)
0.11.2 - 2019-07-18
- Minimum Logrus version (#49)
0.11.1 - 2019-07-10
logrus
:NewFromEntry
method to create a logger from a custom entry
0.11.0 - 2019-02-26
- zap logger integration
- Renamed
testing
package directory tologtesting
0.10.0 - 2019-02-08
- Separate interface for error logging
- Error handler interface to Watermill
- Update Watermill logger to prepare for the next version
- Export the Watermill logger type
- Export the Invision logger type
0.9.0 - 2019-01-10
- logr integration
- Make the log context map optional
0.8.0 - 2018-12-29
- Constructor for standard logger for errors
PrintLogger
that logs messages usingfmt.Print*
semantics
- Renamed
logtesting.AssertLogEvents
toAssertLogEventsEqual
- Renamed
AssertLogEventsEqual
toLogEventsEqual
- MySQL driver integration (use
PrintLogger
instead)
0.7.1 - 2018-12-22
- Simplified message logger without contextual logging
- Some tests for integrations to ensure interface compatibility
0.7.0 - 2018-12-21
- Public test log event comparison function
- Example package
- Exported the log testing library so it can be used for testing in other libraries
- Unexport noop logger
0.6.0 - 2018-12-21
- Contextual logger (instead of
Logger.WithFields
) - Field parameter to log functions
- gRPC log integration
- MySQL driver integration
- Replace log func variadic arguments with a single message argument
- Check if level is enabled (to prevent unwanted context conversions) when the underlying logger supports it
- Export all log adapter types (in accordance with Go interface guidelines)
- format functions from
Logger
interface - ln functions from
Logger
interface - Simple log adapter (implementing format and ln functions)
Logger.WithFields
method (use field parameter of log functions instead)
0.5.0 - 2018-12-17
- Watermill compatible logger
- Dropped the custom
Fields
type from theLogger
interface (replaced withmap[string]interface{}
)
0.4.0 - 2018-12-11
- Benchmarks
- github.com/rs/zerolog adapter
- github.com/go-kit/kit adapter
0.3.0 - 2018-12-11
- github.com/goph/emperror compatible error handler
- Uber Zap adapter
- Removed Level suffix from level constants
0.2.0 - 2018-12-10
- github.com/InVisionApp/go-logger integration
simplelogadapter
to make logger library integration easier- github.com/hashicorp/go-hclog adapter
- Renamed
logrusshim
tologrusadapter
- Initial release