logger

package
v0.0.0-...-bc78d29 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2022 License: Apache-2.0 Imports: 1 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 prints a (formatted) debug message

func Error

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

Error prints a (formatted) error message

func Fatal

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

Fatal prints a (formatted) fatal message followed by an exit call with code 1.

func Info

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

Info prints a (formatted) info message

func SetLogLevel

func SetLogLevel(logLevel int)

SetLogLevel sets the log level for the current logger

func Setup

func Setup(format string, level int)

Setup sets configuration for logger

func Warning

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

Warning prints a (formatted) warning message

Types

This section is empty.

Jump to

Keyboard shortcuts

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