logger

package
v1.0.59 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDebugLogger

func GetDebugLogger() *log.Logger

func GetErrorLogger

func GetErrorLogger() *log.Logger

func GetInfoLogger

func GetInfoLogger() *log.Logger

func GetWarnLogger

func GetWarnLogger() *log.Logger

func SetupLoggers

func SetupLoggers(logName string, logDir string)

Types

type Logger

type Logger struct {
	LogBasePath       string
	LogFileNamePrefix string
	DebugLogger       *log.Logger
	InfoLogger        *log.Logger
	WarnLogger        *log.Logger
	ErrorLogger       *log.Logger
}

func GetLogger

func GetLogger() *Logger

Jump to

Keyboard shortcuts

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