gszap

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrorKey      = "error"
	LoggerNameKey = "ctx"
)

Variables

This section is empty.

Functions

func FromGSLogLevel added in v0.1.1

func FromGSLogLevel(level gslog.LogLevel) zapcore.Level

func NewBackend

func NewBackend(logger *zap.Logger) gslog.Backend

func NewBackendWith added in v0.2.6

func NewBackendWith(f func() *zap.Logger) gslog.Backend

func ToGSLogLevel added in v0.1.1

func ToGSLogLevel(level zapcore.Level) gslog.LogLevel

Types

This section is empty.

Jump to

Keyboard shortcuts

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