log

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoroutineID added in v1.3.8

func GoroutineID() int

GoroutineID adds goroutine-id to logs to help debug concurrency issues.

Types

type Logger

type Logger struct {
	zerolog.Logger
}

Logger extends zerolog's Logger.

func NewAuditLogger

func NewAuditLogger(level, audit string) *Logger

func NewLogger

func NewLogger(level, output string) Logger

func (Logger) Println

func (l Logger) Println(v ...interface{})

Jump to

Keyboard shortcuts

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