logger

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package logger provides structured logging for Moley.

Package logger provides a structured logging interface for Moley.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(msg string)

func Debugf

func Debugf(msg string, fields map[string]any)

func Error

func Error(msg string)

func Errorf

func Errorf(msg string, fields map[string]any)

func Fatal

func Fatal(msg string)

func Fatalf

func Fatalf(msg string, fields map[string]any)

func Info

func Info(msg string)

func Infof

func Infof(msg string, fields map[string]any)

func InitLogger

func InitLogger(level zerolog.Level)

func LogError

func LogError(err error, msg string)

func LogErrorf

func LogErrorf(err error, msg string, fields map[string]any)

func Warn

func Warn(msg string)

func Warnf

func Warnf(msg string, fields map[string]any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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