log

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Debug

func Debug(args ...interface{})

Debug logs a message at level Debug on the standard logger.

func Error

func Error(args ...interface{})

Error logs a message at level Error on the standard logger.

func Fatal added in v1.0.4

func Fatal(args ...interface{})

Fatal logs a message at level Fatal on the standard logger then the process will exit with status set to 1.

func Info

func Info(args ...interface{})

Info logs a message at level Info on the standard logger.

func Init added in v1.0.4

func Init() *_logger.Logger

func Panic added in v1.0.4

func Panic(args ...interface{})

Panic logs a message at level Panic on the standard logger.

func Print added in v1.0.4

func Print(args ...interface{})

Print logs a message at level Info on the standard logger.

func Trace added in v1.0.4

func Trace(args ...interface{})

Trace logs a message at level Trace on the standard logger.

func Warn

func Warn(args ...interface{})

Warn logs a message at level Warn on the standard logger.

func Warning added in v1.0.4

func Warning(args ...interface{})

Warning logs a message at level Warn on the standard logger.

Types

type Logger added in v1.0.4

type Logger struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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