console

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Console added in v0.6.9

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

func NewConsole added in v0.4.9

func NewConsole(debug, info, warning, error, fatal, srcFile bool) *Console

func (*Console) Debug added in v0.6.9

func (c *Console) Debug(format string, a ...any)

func (*Console) Error added in v0.6.9

func (c *Console) Error(format string, a ...any)

Error 打印ERROR等级的日志

func (*Console) Fatal added in v0.6.9

func (c *Console) Fatal(format string, a ...any)

Fatal 打印FATAL等级的日志

func (*Console) Info added in v0.6.9

func (c *Console) Info(format string, a ...any)

Info 打印INFO等级的日志

func (*Console) Warning added in v0.6.9

func (c *Console) Warning(format string, a ...any)

Warning 打印WARNING等级的日志

Jump to

Keyboard shortcuts

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