Skip to content

Releases: zerodha/logf

v0.5.5

18 Jul 04:14
Compare
Choose a tag to compare

Changelog

  • 273a16f fix: Change minimum go version to 1.17 in go.mod
  • 0c2345f feat: Change any to interface{} to support Go 1.17.

v0.5.4

12 Jul 03:59
Compare
Choose a tag to compare

Changelog

  • ad4369d decalre but don't initialise hadExit
  • 80ca796 chore: make general improvements
  • 018fc3d Merge pull request #16 from iamd3vil/level-from-string
  • 28c116a feat: Add LevelFromString function.

v0.5.3

08 Jul 11:51
Compare
Choose a tag to compare

Changelog

  • fa8a1fd chore: doc fixes
  • 51f6b97 Merge pull request #15 from iamd3vil/fix/default-fields-odd
  • ab5d82f feat: Ignore odd fields passed to DefaultFields.
  • e95c548 fix: Fix panic in case of default fields and odd number of fields.

v0.5.2

08 Jul 03:44
3fd32be
Compare
Choose a tag to compare

Changelog

  • 3fd32be Merge pull request #14 from rhnvrm/fix-caller-codecov
  • 7c2fb31 fix: more tests, improve codecov, broken caller
  • de8a6c9 chore: minor doc cleanup
  • a760595 fix: dont call .reset()

v0.5.1

07 Jul 09:48
6a1a75c
Compare
Choose a tag to compare

Changelog

  • 6a1a75c Merge pull request #13 from iamd3vil/default-fields
  • d91f472 feat: Add default options to opts which gets logged with every log.

v0.5.0

07 Jul 09:05
Compare
Choose a tag to compare

Changelog

  • 77491f1 chore: update benchmark
  • d285c27 Merge pull request #12 from iamd3vil/handle-error
  • 20a7f11 feat: Handle error type while writing to the buffer.
  • 7e7e74c chore: update benchmarks
  • bacb284 Merge pull request #11 from zerodha/opts
  • edd3c10 feat: reduce allocs while getting caller frame count
  • 5e36465 feat: add default options for logger
  • 08ebb87 chore: doc cleanup
  • 03e3acc Merge pull request #10 from iamd3vil/ref/var-args
  • a391cda chore: Remove TODO.
  • 0ace9d4 doc: Update README.md with new api.
  • fbdbfa3 ref: Use variadic arguments for fields instead of passing a map.

v0.4.1

07 Jul 06:06
e21fed0
Compare
Choose a tag to compare

Changelog

  • e21fed0 Merge pull request #8 from rhnvrm/fix-remove-pointer-receiver
  • 616dd62 feat: remove pointer receiver
  • 78b6845 Merge pull request #6 from rhnvrm/fix-alloc-string-write
  • 0126fb0 fix: timestamp format
  • 5ef5e13 fix: avoid alloc using strings.IndexFunc instead

v0.4.0

05 Jul 07:54
8bf24d5
Compare
Choose a tag to compare

Changelog

  • 8bf24d5 Merge pull request #5 from zerodha/timestamp
  • cb5aaea feat: switch to default ts format with ms precision
  • 9273cc7 chore: update benchmarks
  • 342ed05 Merge pull request #4 from joeirimpan/alloc
  • 24052cd ref: Use append string, bytes instead of bytes.Buffer equivalents
  • 25dd0f7 perf: Use backing array for all write ops instead of alloc
  • a36b84c chore: update go mod
  • 1582db4 chore: add sticker in README

v0.3.2

01 Jul 01:57
Compare
Choose a tag to compare

Changelog

  • 6e8ef3d feat: add fatal level for field logger

v0.3.1

01 Jul 01:53
Compare
Choose a tag to compare

Changelog

  • 5b61699 chore: cosmetic changes
  • fce30c0 doc: update benchmarks
  • 0e12c99 chore: fix lint error
  • 74ebc44 Merge pull request #3 from iamd3vil/feat/buffer-pool
  • bac3aec fix: Properly escape invalid characters before writing to the buffer.
  • 20364a6 feat: Add field logger to avoid locking.
  • f672fe9 feat: improve performance of colored logs
  • 582b572 fix: Fix panic incase of concurrent colored loggging.
  • e0cb9b1 chore: cosmetic changes
  • 28e15f5 Merge pull request #1 from iamd3vil/feat/perf
  • 629d1eb feat: Improve performance by writing directly to a buffer.
  • 620797b feat: init
  • 5410e05 Initial commit