logger

package
v0.0.0-...-6155d41 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetDefaultChannel

func SetDefaultChannel(channel string)

func SetDefaultDebugMode

func SetDefaultDebugMode(mode int)

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

Logger : This is the logging utility class

func (*Logger) DebugLog

func (l *Logger) DebugLog(params ...interface{})

func (*Logger) DebugLogString

func (l *Logger) DebugLogString(params ...string)

func (*Logger) Error

func (l *Logger) Error(params ...string)

func (*Logger) Fatal

func (l *Logger) Fatal(params ...string)

func (*Logger) FatalWithCode

func (l *Logger) FatalWithCode(code int, params ...string)

func (*Logger) Init

func (l *Logger) Init(channel string, debug int)

func (*Logger) Log

func (l *Logger) Log(params ...interface{})

func (*Logger) LogString

func (l *Logger) LogString(params ...string)

Jump to

Keyboard shortcuts

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