Documentation ¶
Overview ¶
Package asynczap is the package that provides the AsyncZap logger.
Package asynczap is the package that provides the AsyncZap logger.
Index ¶
- type AsyncZap
- func (a *AsyncZap) Close() (err error)
- func (a *AsyncZap) DPanic(msg string, keysAndValues ...any)
- func (a *AsyncZap) Debug(msg string, keysAndValues ...any)
- func (a *AsyncZap) Error(msg string, keysAndValues ...any)
- func (a *AsyncZap) Fatal(msg string, keysAndValues ...any)
- func (a *AsyncZap) Info(msg string, keysAndValues ...any)
- func (a *AsyncZap) Panic(msg string, keysAndValues ...any)
- func (a *AsyncZap) Warn(msg string, keysAndValues ...any)
- func (a *AsyncZap) Work()
- type Job
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsyncZap ¶
AsyncZap defines an object that performs asynchronous logging and implements log.Logger.
func NewAsyncZap ¶
NewAsyncZap creates a new AsyncZap instance.
func (*AsyncZap) DPanic ¶
DPanic logs a message with some additional context. In development mode, the logger then panics.
Click to show internal directories.
Click to hide internal directories.