logger

package
v1.3.32-0...-6d053e1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SYSLOG_LOG_EMERG   = "LOG_EMERG"
	SYSLOG_LOG_ALERT   = "LOG_ALERT"
	SYSLOG_LOG_CRIT    = "LOG_CRIT"
	SYSLOG_LOG_ERR     = "LOG_ERR"
	SYSLOG_LOG_WARNING = "LOG_WARNING"
	SYSLOG_LOG_NOTICE  = "LOG_NOTICE"
	SYSLOG_LOG_INFO    = "LOG_INFO"
	SYSLOG_LOG_DEBUG   = "LOG_DEBUG"
)

Variables

View Source
var Logger = logrus.New()

Functions

func Debug

func Debug(args ...interface{})

func Error

func Error(args ...interface{})

func Info

func Info(args ...interface{})

func InitLogger

func InitLogger()

initLogger function

func SetLoggerLevel

func SetLoggerLevel(loglevelString string)

SetLoggerLevel function

func Warning

func Warning(args ...interface{})

Types

type DbLogger

type DbLogger struct{}

func (*DbLogger) Print

func (*DbLogger) Print(v ...interface{})

db logger for logrus

type LogInfo

type LogInfo logrus.Fields

Jump to

Keyboard shortcuts

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