Releases: no-src/log
Releases · no-src/log
v0.3.2
Enhancements
Add the function CreateLoggerFromConfig
to create a logger from the config file.
Add the level.ParseLevel
function.
Add go1.22
support.
Bump codecov/codecov-action from 3 to 4.
Bump github/codeql-action from 2 to 3.
Bump actions/setup-go from 4 to 5.
Bump actions/checkout from 3 to 4.
v0.3.1
Enhancements
Remove the CBool
structure.
Add the ErrorIf
function for Logger
interface.
v0.3.0
Enhancements
Remove go1.17
and go1.18
support.
Add go1.21
support.
Update the implementation of the CBool
.
v0.2.3
Fixed
Fix the data race in the Option
implementation.
v0.2.2
Fixed
Fix the data race in the formatter
and content
packages.
v0.2.1
Enhancements
Implement the WithFormatter
and WithTimeFormat
functions in the multiLogger
and sampleLogger
.
Add the InitDefaultLogTimeFormat
function to set the global default log time format.
v0.2.0
Enhancements
Add the WithTimeFormat
function for Logger
interface to set the time format and return logger self.
Auto flush logs to file per 3 seconds by default.
Add the awesome badge.
Bump actions/setup-go
from 3 to 4.
Create CODE_OF_CONDUCT.md.
v0.1.10
Fixed
Fix the output is incorrect when writing an error log with arguments that contain the format character.
Update the build badge(#6 ).
Enhancements
Add support go1.20
.
Add support for macOS
.
Remove the mock tests and add some file log tests.
v0.1.9
Fixed
Fix the data race of default logger.
Enhancements
Add the DefaultSampleLogger
function.
v0.1.8
Enhancements
Add the NewFileLoggerWithOption
function.
Add the option.NewFileLoggerOption
function.
Support split log file by date.
Add the CodeQL github workflow.
Remove the chat badge.
You can’t perform that action at this time.