Releases: Pho3b/tiny-logger
v1.10.0
v1.9.2
v1.9.1
v1.9.0
perf: improves performance and simplify the logger architecture
perf: improves casting method taking advantage of the buf.AvailableBuffer() method to append values instead of allocating new values
perf: reduces the background goroutine updating the datetime from 3 a single one
perf: removes 1 heap allocation from the datetime printer improving performances
refactor: simplify components interaction injecting services into the encoders from the logger
refactor: removes the colors printer service merging it into a new service called Printer
fix: enable the default encoder Color method to print dateTime, aligning it with the other encoders
v1.8.0
feat: adds custom date-time field formatting feature.
feat: adds possibility to print timestamp instead of date-time.
refactor: cleans up the RetrieveDateTime() method in order to make it more clear and concise.
perf: slight performance increase in printing the date-time/timestamp fields in multi-threaded contexts.
docs: updates README benchmarks.
v1.7.0
feat: adds the log to a file feature
refactor: completely refactors the internal encoders code in order to make it more clear and concise
docs: updates the README.md file
perf: further improves performance by removing redundant conditions and string concatenations
v1.6.1
v1.6.0
perf: greatly improves performances through the usage of pool buffers and functions optimizations
- perf: greatly reduces the number of bytes used per log and heap allocations
- perf: major performances improvement through the usage of a pool buffer in the encoders
- perf: improves minor functions performances by removing not needed operations
- test: updates and adds unit test
- docs: updates the README with new benchmark performances