console

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LEVEL_DEBUG = 1 << iota
	LEVEL_INFO
	LEVEL_WARN
	LEVEL_ERROR
	LEVEL_FATAL
	PRINT_SRC_FILE
)

定义6个常量,每个常量代表一个布尔值为true的位置

Variables

This section is empty.

Functions

func PrintLevelBind

func PrintLevelBind()

Types

type Console

type Console struct {
	Debug consoleFunc
	Info  consoleFunc
	Warn  consoleFunc
	Error consoleFunc
	Fatal consoleFunc
}

func NewConsole

func NewConsole(params int) *Console

Jump to

Keyboard shortcuts

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