logger

package
v0.0.0-...-a1fbe56 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(level zapcore.Level) (*zapLogger, error)

New creates a new Logger instance with the given log level.

Types

type Logger

type Logger interface {
	Info(msg string)
	Error(msg string)
	Fatal(msg string)
	Debug(msg string)
	Warn(msg string)
	Init() error
	Event(e *debug.Event)
}

Logger defines the interface for logging functions.

Jump to

Keyboard shortcuts

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