Skip to content

Releases: Pho3b/tiny-logger

v1.10.0

08 Feb 15:23
fca1865

Choose a tag to compare

fix: updates the module name to match the repository address
NOTE: After the upgrade, run a search and replace to maintain library references.
test: upgrades unit tests go version to 1.24

v1.9.2

04 Feb 23:32
8532d71

Choose a tag to compare

test: adds logger comparison benchmark tests
fix: casting method casts int32 as number and not UTF8 characters
docs: updates the README.md file

v1.9.1

13 Jan 21:47

Choose a tag to compare

fix: remove redundant goroutine for dates. All updates now happen in a single datetime goroutine.
docs: minor README updates

v1.9.0

30 Dec 23:19
8d6b3a5

Choose a tag to compare

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

23 Nov 16:03
3c3412d

Choose a tag to compare

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

20 Oct 13:50
d9cf249

Choose a tag to compare

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

13 Sep 10:28
2b99839

Choose a tag to compare

fix: solves a bug in the daily date update function
fix: now daily date update takes into consideration hour shift in different time zones for long running programs

v1.6.0

28 Aug 21:48

Choose a tag to compare

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

v1.5.1

02 Jul 13:57

Choose a tag to compare

fix: updates the default logger fatalErr msg
refactor: adds a space between log_lvl and the dateTime section

v1.5.0

21 Jun 15:46
9c73711

Choose a tag to compare

feat: adds JSON custom marshal
feat: adds YAML custom marshal
perf: custom marshal drastically decreases heap allocations and increases log speed
docs: updates the README.md
test: adds benchmark test command to Makefile