log

package
v0.0.0-...-6659799 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(format string, params ...interface{})

Debug prints a debug message. If syslog is enabled then LOG_NOTICE is used

func EnableDebug

func EnableDebug()

EnableDebug enables logging debug messages

func Error

func Error(format string, params ...interface{})

Error prints an error message. If syslog is enabled then LOG_ERR is used

func Fatal

func Fatal(format string, params ...interface{})

Fatal logs Error and exits 1

func Info

func Info(format string, params ...interface{})

Info prints a message. If syslog is enabled then LOG_NOTICE is used

func Mute

func Mute()

Mute mutes all logs

func UseSysLog

func UseSysLog() error

UseSysLog initializes logging to syslog

Types

This section is empty.

Jump to

Keyboard shortcuts

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