extern

package
v0.3.10-0-alpha2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Alert

func Alert(msg string)

func Critical

func Critical(msg string)

func Debug

func Debug(msg string)

func Emergency

func Emergency(msg string)

func Error

func Error(msg string)

func FormatMsg

func FormatMsg(msg string, sep, fill string) string

func Info

func Info(msg string)

func InitSyslog

func InitSyslog(url string) error

func Notice

func Notice(msg string)

func Warning

func Warning(msg string)

Types

type ISyslogWriter

type ISyslogWriter interface {
	Alert(m string) error
	Crit(m string) error
	Debug(m string) error
	Emerg(m string) error
	Err(m string) error
	Info(m string) error
	Notice(m string) error
	Warning(m string) error
}

Jump to

Keyboard shortcuts

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