Documentation ¶
Index ¶
- type Logger
- func (n *Logger) Debug(args ...interface{})
- func (n *Logger) Debugf(format string, args ...interface{})
- func (n *Logger) Debugln(args ...interface{})
- func (n *Logger) Error(args ...interface{})
- func (n *Logger) Errorf(format string, args ...interface{})
- func (n *Logger) Errorln(args ...interface{})
- func (n *Logger) Fatal(args ...interface{})
- func (n *Logger) Fatalf(format string, args ...interface{})
- func (n *Logger) Fatalln(args ...interface{})
- func (n *Logger) Info(args ...interface{})
- func (n *Logger) Infof(format string, args ...interface{})
- func (n *Logger) Infoln(args ...interface{})
- func (n *Logger) Print(args ...interface{})
- func (n *Logger) Printf(format string, args ...interface{})
- func (n *Logger) Println(args ...interface{})
- func (n *Logger) Warn(args ...interface{})
- func (n *Logger) Warnf(format string, args ...interface{})
- func (n *Logger) Warnln(args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct{}
Logger is a built in type that implements the Logger interface to prevent scripts from writing output to the screen during execution (default logging behavior of binary)
func (*Logger) Debug ¶
func (n *Logger) Debug(args ...interface{})
Debug implements the Logger interface type to prevent debug output
func (*Logger) Debugln ¶
func (n *Logger) Debugln(args ...interface{})
Debugln implements the Logger interface type to prevent debug output
func (*Logger) Error ¶
func (n *Logger) Error(args ...interface{})
Error implements the Logger interface type to prevent debug output
func (*Logger) Errorln ¶
func (n *Logger) Errorln(args ...interface{})
Errorln implements the Logger interface type to prevent debug output
func (*Logger) Fatal ¶
func (n *Logger) Fatal(args ...interface{})
Fatal implements the Logger interface type to prevent debug output
func (*Logger) Fatalln ¶
func (n *Logger) Fatalln(args ...interface{})
Fatalln implements the Logger interface type to prevent debug output
func (*Logger) Info ¶
func (n *Logger) Info(args ...interface{})
Info implements the Logger interface type to prevent debug output
func (*Logger) Infoln ¶
func (n *Logger) Infoln(args ...interface{})
Infoln implements the Logger interface type to prevent debug output
func (*Logger) Print ¶
func (n *Logger) Print(args ...interface{})
Print implements the Logger interface type to prevent debug output
func (*Logger) Println ¶
func (n *Logger) Println(args ...interface{})
Println implements the Logger interface type to prevent debug output
func (*Logger) Warn ¶
func (n *Logger) Warn(args ...interface{})
Warn implements the Logger interface type to prevent debug output