log

package
v0.0.0-...-e506182 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

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

Debug logs a message of level 'debug', and then exit using os.Exit(1)

func Error

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

Error logs a message of level 'info'.

func Fatal

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

Fatal logs a message of level 'fatal'.

func Info

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

Info logs a message of level 'info'.

func Log

func Log(level, format string, args ...interface{})

Log a message (level and content) to stderr and to the client's mqtt server. Level is typically info/warning et cetera. For fatal log messages, use MQTTLogger.Fatal

func Warning

func Warning(format string, args ...interface{})

Warning logs a message of level 'warning'.

Types

This section is empty.

Jump to

Keyboard shortcuts

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