log

package
v1.0.203 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logf

func Logf(priority Priority, format string, a ...interface{})

Logf formats a log entry to systemd's journald.

Types

type Priority

type Priority int

Priority is the log level.

const (
	// PriEmerg is the emergency log level.
	PriEmerg Priority = iota
	// PriAlert is the alert log level.
	PriAlert
	// PriCrit is the critical log level.
	PriCrit
	// PriErr is the error log level.
	PriErr
	// PriWarning is the warning log level.
	PriWarning
	// PriNotice is the notice log level.
	PriNotice
	// PriInfo is the info log level.
	PriInfo
	// PriDebug is the debug log level.
	PriDebug
)

Jump to

Keyboard shortcuts

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