admin_log

package
v0.0.0-...-49af19c Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

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

func New

func New() *Log

func (*Log) Close

func (l *Log) Close()

func (*Log) Open

func (l *Log) Open()

func (*Log) SetLogLevel

func (l *Log) SetLogLevel(severity Severity)

func (*Log) Write

func (l *Log) Write(msg string, module string, severity Severity) error

type Severity

type Severity uint8
const (
	LOG_CRITICAL Severity = iota
	LOG_ERROR
	LOG_WARNING
	LOG_INFO
	LOG_DEBUG
)

Jump to

Keyboard shortcuts

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