Releases: chensoft/logkit
Releases · chensoft/logkit
v0.3.7
Added
- allow use 'Z' instead of '+00:00' for utc formatting
Changed
- Use chrono for correct and faster local time format
v0.3.6
Added
- Allow custom formatting in TimePlugin
- Allow switching between UTC and Local Time in TimePlugin
- Allow set level limit for SourcePlugin
Changed
- Use time crate to do more flexible formatting
v0.3.5
Added
- Save the source info when the user calls the macros
Removed
- Remove anyhow
- Remove the unnecessary
alloc
field
v0.3.4
Added
- Add Send and Sync requirements for Plugin and Target
v0.3.3
Changed
- Relax the requirements for Plugin and Target
- Add separate any trait for Plugin and Target
Removed
- The parking_lot dependency
- Do not pub Any to avoid conflict
v0.3.2
Added
- Retrieve logger's plugins and targets
- Automatically create the directory in FileTarget
Changed
- Print an error message if writing to the file fails
v0.3.0
Added
- a nop constructor for Logger
- features for macros to disable some levels in compile time
Changed
new
in Logger requires a default target
Removed
from_env
in Logger
from_def
in Logger
v0.2.0
Added
- benchmark
- const constructor for Logger
Changed
- unmount a plugin using a callback
- unroute a target using a callback
- macros support trailing commas
- change default output target to stderr
record
macro accept custom logger
v0.1.0
- JSON encoding output
- flexible plugin system
- multiple output targets
- extremely fast encoding speed
- predefined default logger
- customizable logger object
- logging with an optional stack trace
- the output order of the fields is fixed
- the plugin can cancel the output of a log entry midway