All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, markdownlint, and this project adheres to Semantic Versioning.
- Update dependencies
- From
LoggerDefault
toBasicLogger
- From
LoggerInterface
toLogger
- From
LoggingImpl
toBasicLogging
- From
LoggingInterface
toLogging
- Update dependencies
- github.com/stretchr/testify v1.9.0
- golang.org/x/exp v0.0.0-20240416160154-fe59bbe5cc7f
- Renamed module to
github.com/senzing-garage/go-logging
- Refactor to template-go
- Update dependencies
- github.com/senzing-garage/go-messaging v1.4.0
- golang.org/x/exp v0.0.0-20231226003508-02704c960a9b
- Refactor to template-go
- Update dependencies
- github.com/senzing-garage/go-messaging v0.3.3
- golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63
- Refactor to template-go
- Update dependencies
- github.com/senzing-garage/go-messaging v0.3.2
- golang.org/x/exp v0.0.0-20230801115018-d63ba01acd4b
- Update dependencies
- github.com/senzing-garage/go-messaging v0.3.1
- Using "github.com/senzing-garage/go-messaging/messenger" to manage message format.
messagedate
messagedetails
messageduration
messageerrors
messageformat
messageid
messagelevel
messagelocation
messagelogger
messagestatus
messagetext
messagetime
- ``
- Update dependencies
- github.com/senzing-garage/go-messaging v0.2.2
- github.com/stretchr/testify v1.8.4
- golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1
- Changed
Error()
toNewError()
- Added documentation on
Log()
,Error()
, and logging output. - Removed a layer of "caller depth" in
logging.Error()
- Update dependencies
- github.com/senzing-garage/go-messaging v0.2.1
- Changed use of
slog.New(...)
- Update dependencies
- golang.org/x/exp v0.0.0-20230510235704-dd950f8aeaea
- Change to UTC time.
go-logging/logging
- The following packages will probably be removed in version 2.0.0:
logger
messagedate
messagedetails
messageduration
messageerrors
messageformat
messageid
messagelevel
messagelocation
messagelogger
messagestatus
messagetext
messagetime
- Fix ineffective assignments and spelling errors
- Support
messagelogger.Level
type as amessagelogger.New()
parameter
NewSenzingApiLogger()
- Ability to choose
location
level usingCallerSkip
- Improved
status
andlevel
determination - Improved
details
representation - Improved godoc documentation
- Improved testing
date
,time
,duration
,level
, andlocation
fields
- Examples reflect TRACE, DEBUG, INFO, WARN, ERROR, FATAL, PANIC ordering
- Removed non-JSON elements to JSON messages
- Added
messagelogger.NewSenzingLogger()
for use in Senzing applications - Made distinct package implementations for NewSenzingLogger
- All
messageloglevel
implementations honor a specific log level in the details parameter - Exposed
LevelToTextMap
andTextToLevelMap
- Fixed HTML escaping of JSON
- Log
nil
better - Removed quotes from
map[]
output. - Improved test cases
- Initial implementation