logging

package
v0.0.0-...-a6f1803 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Info(msg string, fields ...zapcore.Field)
	Error(msg string, fields ...zapcore.Field)
}

type ZapLogger

type ZapLogger struct {
	// contains filtered or unexported fields
}

func NewZapLogger

func NewZapLogger() (*ZapLogger, error)

func (*ZapLogger) Close

func (l *ZapLogger) Close() error

func (*ZapLogger) Error

func (l *ZapLogger) Error(msg string, fields ...zapcore.Field)

func (*ZapLogger) Info

func (l *ZapLogger) Info(msg string, fields ...zapcore.Field)

Jump to

Keyboard shortcuts

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