log

package
v0.0.0-...-fb5bbcc Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Critical

func Critical(args ...interface{})

Critical logs a message using CRITICAL as log level

func Criticalf

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

Criticalf logs a message using CRITICAL as log level

func Debug

func Debug(args ...interface{})

Debug logs a message using DEBUG as log level

func Debugf

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

Debugf logs a message using DEBUG as log level

func Error

func Error(args ...interface{})

Error logs a message using ERROR as log level

func Errorf

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

Errorf logs a message using ERROR as log level

func Fatal

func Fatal(args ...interface{})

Fatal is similar to Critical followed by a call to os.Exit(1)

func Fatalf

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

Fatalf is similar to Criticalf followed by a call to os.Exit(1)

func Info

func Info(args ...interface{})

Info logs a message using INFO as log level

func Infof

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

Infof logs a message using INFO as log level

func Init

func Init(name string)

Init logging system which will create a log file or append one

func Instance

func Instance() *logging.Logger

Instance returns a Logger instance

func Notice

func Notice(args ...interface{})

Notice logs a message using NOTICE as log level

func Noticef

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

Noticef logs a message using NOTICE as log level

func Panic

func Panic(args ...interface{})

Panic is similar to Critical followed by a call to panic()

func Panicf

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

Panicf is similar to Criticalf followed by a call to panic()

func Warning

func Warning(args ...interface{})

Warning logs a message using WARNING as log level

func Warningf

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

Warningf logs a message using WARNING as log level

Types

This section is empty.

Jump to

Keyboard shortcuts

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