Documentation ¶
Index ¶
- func Debug() *zerolog.Event
- func Error() *zerolog.Event
- func Info() *zerolog.Event
- func Panic() *zerolog.Event
- func Send(e *zerolog.Event, skipOptional ...int)
- func SendAsync(e *zerolog.Event, skipOptional ...int)
- func SendSimpleError(err error, skipOptional ...int)
- func SendSimpleErrorAsync(err error, skipOptional ...int)
- func SetDefaultLogger()
- func SetLogger(l zerolog.Logger)
- func Trace() *zerolog.Event
- func WaitAsyncLogs(ctx context.Context, timeout time.Duration)
- func Warn() *zerolog.Event
- type StackTrace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendSimpleError ¶
func SendSimpleErrorAsync ¶
func SetDefaultLogger ¶
func SetDefaultLogger()
Types ¶
type StackTrace ¶
type StackTrace []string
func (StackTrace) MarshalZerologArray ¶
func (st StackTrace) MarshalZerologArray(a *zerolog.Array)
Click to show internal directories.
Click to hide internal directories.