notice

package
v2.0.26 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	Info    = 0x00000
	Debug   = 0x00001
	Error   = 0x00002
	Log     = 0x00003
	Process = 0x00004
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Notice

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

func NewNotice

func NewNotice() *Notice

func (*Notice) Close

func (n *Notice) Close()

func (*Notice) Debug added in v2.0.20

func (n *Notice) Debug(content ...interface{})

func (*Notice) Error added in v2.0.20

func (n *Notice) Error(content ...interface{})

func (*Notice) Info added in v2.0.20

func (n *Notice) Info(content ...interface{})

func (*Notice) Log added in v2.0.20

func (n *Notice) Log(content ...interface{})

func (*Notice) Process added in v2.0.20

func (n *Notice) Process(content ...interface{})

func (*Notice) Service

func (n *Notice) Service(closeEvent func())

func (*Notice) SetDebug added in v2.0.20

func (n *Notice) SetDebug(debug bool)

Jump to

Keyboard shortcuts

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