logger

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(msg string)

Debug prints log in debug level

func Debugf

func Debugf(fmt string, v ...interface{})

Debugf prints formatted message in debug level

func Error

func Error(msg string)

Error prints log in error level

func ErrorWithFields

func ErrorWithFields(fields map[string]interface{})

ErrorWithFields prints fields in error level

func Errorf

func Errorf(fmt string, v ...interface{})

Errorf prints formatted message in error level

func Fatal

func Fatal(msg string)

Fatal prints log in fatal level

func Fatalf

func Fatalf(fmt string, v ...interface{})

Fatalf prints formatted message in fatal level

func Info

func Info(msg string)

Info prints log in info level

func InfoWithFields

func InfoWithFields(fields map[string]interface{})

InfoWithFields prints fields in info level

func Infof

func Infof(fmt string, v ...interface{})

Infof prints formatted message in info level

func Init

func Init(level zerolog.Level)

Init initializes a default logger.

func Warn

func Warn(msg string)

Warn prints log in warn level

func Warnf

func Warnf(fmt string, v ...interface{})

Warnf prints formatted message in warn level

Types

This section is empty.

Jump to

Keyboard shortcuts

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