logger

package module
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2025 License: MIT Imports: 5 Imported by: 7

Documentation

Index

Constants

View Source
const (
	DEBUG
	INFO
	WARN
	ERROR
	FATAL

	CONSOLE_ONLY
	FILE_ONLY
	CONSOLE_AND_FILE
)

Variables

This section is empty.

Functions

func CloseLogFile

func CloseLogFile()

func Debug

func Debug(messages ...interface{})

func Debugf

func Debugf(format string, args ...interface{})

func Error

func Error(messages ...interface{})

func Errorf

func Errorf(format string, args ...interface{})

func Fatal

func Fatal(messages ...interface{})

func Fatalf

func Fatalf(format string, args ...interface{})

func Info

func Info(messages ...interface{})

func Infof

func Infof(format string, args ...interface{})

func SetLogFile

func SetLogFile(filePath string) error

func SetOutput

func SetOutput(option int) error

func Warn

func Warn(messages ...interface{})

func Warnf

func Warnf(format string, args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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