log

package
v0.0.0-...-e25560c Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseLogger

func CloseLogger()

func Debug

func Debug(s string, f ...zap.Field)

func Error

func Error(s string, f ...zap.Field)

func Fatal

func Fatal(s string, f ...zap.Field)

func Info

func Info(s string, f ...zap.Field)

func Panic

func Panic(s string, f ...zap.Field)

func UpdateLogger

func UpdateLogger(l *Log)

Types

type Log

type Log struct {
	Level string `yaml:"level"`
	Path  string `yaml:"path"`
}

Jump to

Keyboard shortcuts

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