Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 05 May 02:04
· 281 commits to master since this release

Change Log

Feature

  • feat(bufwriter): implement a simple line buffer writer from bufio ebc90ba
  • feat: add a line buffer writer implement, refer the bufio.Writer e1bfeed
  • feat: create a new sub pkg: rotatefile for rotate file e55c963
  • feat: add some new log handler implements, add a config for create handle 0b2ab86

Refactor

  • refactor: refactor the log caller find logic 432c267
  • refactor: refactor the log write logic 2ee3702
  • refactor: refactor all log handlers implements a7ac896
  • refactor: refactor log handlers config logic 1e8f187
  • refactor: refactor handlers with level and formatter logic 7d583b5
  • refactor: rotatefile add an interface, rename RotateWriter to Writer 7e4e529
  • refactor: refactor log file structure, rename some files 29b6a22
  • refactor: refacting the log caller setting and format logic ccbd955
  • refactor: refactoring the handler create logic by config or builder 06dfb6b

Update

  • update: update some handler create logic e206a26
  • update: modify some logic for rotatefile logic 3aff58b
  • update: rename pkg bufline to bufwrite, add a bufio wrapper writer c68e9f2
  • up: rename RotateDispatcher to RotateWriter 7211848
  • up: rename rotatefile.go to writer.go 10ac099
  • enhanced: bufwrite add check io.Closer on call Close 648d002
  • update: change the rotate file max size unit from MB to bite c9ad42a
  • update: add logger.TimeClock field, allow custom set time builder 89a9f9e
  • update: add a util func printlnStderr() for internal error report b7c153b
  • up: add some new logic for rotate_files bc0cf79
  • up: update the callerSkip set logic cc8e8b1
  • update: update some for format field timestamp d266ac1

Fixed

  • fix: fix unit tests error, fix some logic error 63cb8f6
  • chore: fix uint test error, update readme 5073b32
  • fix: fix error on rotate file by hours e1e0c2e
  • chore: update readme image, fix test error 44ed41d

Other

  • chore: update some method comments aef8f34
  • chore: add action tests on go1.18 and rm test on go < 1.15 918c23a
  • build(deps): bump github.com/gookit/goutil from 0.5.0 to 0.5.1 53fbf37
  • chore: update some bench tests information ab8cdd2
  • chore: add more unit tests for rotate file handler bc56cc0
  • test: add more tests for handler and rotatefile pkg 14391db
  • test: add more unit test for logger 2d89a9a
  • chore: add some new help method, modify some short method style f6a40d8
  • chore: rewrite the zh-CN readme docs 7c5e0c0
  • test: add more unit tests for bufwrite pkg b0b87b9
  • style: update the zh-CN readme, add more docs 6579699
  • test: add more unit tests for handler b85f243
  • test: add more unit tests for logger, formatter 5b8a241
  • test: add more unit tests for logger, handler 83e7eef
  • style: update and re-write the readme e7f1a6e
  • style: update readme 6852b93

Full Changelog: v0.2.2...v0.3.0