log

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debugln added in v0.6.1

func Debugln(format string, v ...any)

func Errorln added in v0.6.1

func Errorln(format string, v ...any)

func Fatalln added in v0.6.1

func Fatalln(format string, v ...any)

func FormatLog added in v0.6.1

func FormatLog(prefix Prefix, content string) string

func Infoln added in v0.6.1

func Infoln(format string, v ...any)

func InitLog

func InitLog()

func Warnln added in v0.6.1

func Warnln(format string, v ...any)

Types

type Prefix added in v0.6.1

type Prefix int64
const (
	InitPrefix Prefix = iota
	ConfigurationPrefix
	HubPrefix
	ExecutorPrefix
	DnsPrefix
	RulePrefix
	TcpPrefix
	TunPrefix
	UdpPrefix
)

Jump to

Keyboard shortcuts

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