package
0.0.0-20190825185126-dd30d0a23f51
Repository: https://github.com/dmitrymomot/go-utilities.git
Documentation: pkg.go.dev
# Functions
Debug level log.
Debugf level log with arguments formating.
Error level log.
Errorf level log with arguments formating.
Fatal is equivalent to Print() followed by a call to os.Exit(1).
Fatalf is equivalent to Printf() followed by a call to os.Exit(1).
Fatalln is equivalent to Println() followed by a call to os.Exit(1).
Info level log.
Infof level log with arguments formating.
NewConsoleLogger factory.
Panic is equivalent to Print() followed by a call to panic().
Panicf is equivalent to Printf() followed by a call to panic().
Panicln is equivalent to Println() followed by a call to panic().
Print calls Output to print to the standard logger.
Printf calls Output to print to the standard logger.
Println calls Output to print to the standard logger.
SetDefault logger.
StandardLogger returns current logger instance.
Warn level log.
Warnf level log with arguments formating.
WithFields adds attributes to log.
# Interfaces
Logger interface.
# Type aliases
M is a short way to add map[string]interface{}.