Skip to content

Releases: gookit/slog

v0.3.3

14 Jun 00:05
Compare
Choose a tag to compare

Change Log

Fixed

  • fix: unit tests errot on rotatefile pkg 3a5bac2
  • fix: fix rotate file error on up dep goutil d2fe7d2

Update

  • up: update some config for create log handler e775d38
  • up: update the handler builder logic, update readme a59492b

Other

  • chore: update readme, add some config field desc. issues: #58 d2af535
  • build(deps): bump github.com/gookit/color from 1.5.0 to 1.5.1 7ffadfc
  • chore: update readme, update some preivew images f282d45
  • chore: update preview images, update some comments 7ec2b8c
  • build(deps): bump github.com/gookit/goutil from 0.5.2 to 0.5.4 93deba7
  • chore: update preview image and fix a test error 5d2c1b6

v0.3.2

08 Jun 06:13
Compare
Choose a tag to compare

Change Log

Fixed

  • fix: remove old file error after compress file c10edc4

Feature

  • feat: support configuration to compress log files via gzip. see issues: #55 3863434

Update

  • up: updated rotated file processing order logic 10b9c74
  • up: No longer enforces append newlines to log templates. issues: #53 ace0563
  • up: update some logic for clear backup files 0087c97
  • up: add more unit tests for pkg bufwrite e80fd86

Other

  • chore: update some deps for example 08dd1fc
  • chore: update go deps and update readme docs b3a9306
  • build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 56149f8
  • test: wrap the compress error for debug c3dc314
  • chore: add more unit tests for pkg handler 865124a
  • chore: add more unit tests for logger and record 4074825

v0.3.1

18 May 12:10
Compare
Choose a tag to compare

Change Log

Fixed

  • fix: custom text formatter template not works. issues: #52 c27542a
  • fix: the caller report is error on use slog.xx func 250e1c7

Feature

  • feat: add new util func: slog.FatalErr, slog.PanicErr 88f151a
  • feat: add release action step for auto generate changelog bc2ac98

Update

  • up: ensure last char is newline on set text template 4e3727b

Other

  • build(deps): bump github.com/gookit/goutil from 0.5.1 to 0.5.2 f60050f
  • chore: fix code lint error 4da9598
  • style: fix some code style check error 202cf69
  • test: fix unit tests error on action 8ccad0d
  • chore: update readme and update gh action f7d4b2c

Full Changelog: v0.3.0...v0.3.1

v0.3.0

05 May 02:04
Compare
Choose a tag to compare

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

v0.2.2

19 Apr 15:22
dd89ed7
Compare
Choose a tag to compare

What's Changed

  • Bump actions/checkout from 2.4.0 to 3 by @dependabot in #42
  • build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 by @dependabot in #43
  • build(deps): bump github.com/gookit/goutil from 0.4.4 to 0.4.6 by @dependabot in #45
  • build(deps): bump actions/setup-go from 2 to 3 by @dependabot in #46
  • build(deps): bump github.com/gookit/goutil from 0.4.6 to 0.5.0 by @dependabot in #47
  • feat: add runtime callers skip option by @moonD4rk in #48

New Contributors

Full Changelog: v0.2.1...v0.2.2

v0.2.1

26 Feb 12:11
Compare
Choose a tag to compare
Release v0.2.1

v0.2.0

26 Feb 11:53
Compare
Choose a tag to compare
Release v0.2.0

v0.1.5

22 Apr 02:35
Compare
Choose a tag to compare
Release v0.1.5

v0.1.4

14 Apr 11:23
Compare
Choose a tag to compare
Release v0.1.4

v0.1.3

18 Jan 02:38
Compare
Choose a tag to compare
Release v0.1.3