8000 Tags · rizalgowandy/zerolog · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: rizalgowandy/zerolog

Tags

v1.13.0

Toggle v1.13.0's commit message
Add CallerWithSkipFrameCount to the Context (rs#98) (rs#135)

Add the ability to skip a specified number of stack frames
on a per context basis. Before this toe CallerSkipFrameCount
could only be set globally.

v1.12.0

Toggle v1.12.0's commit message
Fix go1.12 test regression

Breakage is due to this change in go 1.12:

Tracebacks, runtime.Caller, and runtime.Callers no longer include compiler-generated initialization functions. Doing a traceback during the initialization of a global variable will now show a function named PKG.init.ializers.

Fix rs#137

v1.11.0

Toggle v1.11.0's commit message
Add ErrorHandler global to allow handling of write errors

v1.10.3

Toggle v1.10.3's commit message
Fix "could not write" error missing carriage return (again)

v1.10.2

Toggle v1.10.2's commit message
Revert the wrapping of write errors

All errors generated by Go libraries on stderr won't be json encoded
anyway, so it does not make sense to have such a treatment for this one.

v1.10.1

Toggle v1.10.1's commit message
Fix "could not write" error missing carriage return

v1.10.0

Toggle v1.10.0's commit message
diode: let use a waiter instead of a poller by using 0 as a poolInterval

v1.9.1

Toggle v1.9.1's commit message
Fix typo

v1.9.0

Toggle v1.9.0's commit message
Fix usage of sync.Pool

The current usage of sync.Pool is leaky because it stores an arbitrary
sized buffer into the pool. However, sync.Pool assumes that all items in the
pool are interchangeable from a memory cost perspective. Due to the unbounded
size of a buffer that may be added, it is possible for the pool to eventually
pin arbitrarily large amounts of memory in a live-lock situation.

As a simple fix, we just set a maximum size that we permit back into the pool.

v1.8.0

Toggle v1.8.0's commit message
Embed the diode lib to avoid test dependencies

This commit introduces a breaking change in the diode API in order to
hide the diodes package interface. This removes a good number of
dependencies introduced by the test framework used by the diodes
package.
0