logging

package
v0.0.0-...-f7dd486 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug() *zerolog.Event

func Error

func Error() *zerolog.Event

func Info

func Info() *zerolog.Event

func Panic

func Panic() *zerolog.Event

func Send

func Send(e *zerolog.Event, skipOptional ...int)

func SendAsync

func SendAsync(e *zerolog.Event, skipOptional ...int)

func SendSimpleError

func SendSimpleError(err error, skipOptional ...int)

func SendSimpleErrorAsync

func SendSimpleErrorAsync(err error, skipOptional ...int)

func SetDefaultLogger

func SetDefaultLogger()

func SetLogger

func SetLogger(l zerolog.Logger)

func Trace

func Trace() *zerolog.Event

func WaitAsyncLogs

func WaitAsyncLogs(ctx context.Context, timeout time.Duration)

func Warn

func Warn() *zerolog.Event

Types

type StackTrace

type StackTrace []string

func (StackTrace) MarshalZerologArray

func (st StackTrace) MarshalZerologArray(a *zerolog.Array)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL