logger

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupGin added in v1.13.0

func SetupGin(l Interface)

SetupGin routes Gin's logs through our JSON logger.

func SetupStdLog added in v1.13.0

func SetupStdLog(l Interface)

SetupStdLog routes the standard library log output through our JSON logger.

Types

type Interface

type Interface interface {
	Debug(message interface{}, args ...interface{})
	Info(message string, args ...interface{})
	Warn(message string, args ...interface{})
	Error(message interface{}, args ...interface{})
	Fatal(message interface{}, args ...interface{})
}

Interface -.

func New

func New(level string) Interface

New -.

Jump to

Keyboard shortcuts

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