Documentation ¶
Index ¶
- func Debug(args ...interface{})
- func Debugf(msg string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(msg string, args ...interface{})
- func Fatalf(msg string, args ...interface{})
- func Info(args ...interface{})
- func Infof(msg string, args ...interface{})
- func Init(to, level, projectName string)
- func InitTo(toConsole bool, toFile bool, level string, projectName string)
- func Printf(msg string, args ...interface{})deprecated
- func Println(args ...interface{})deprecated
- func Sync()
- func Warn(args ...interface{})
- func Warnf(msg string, args ...interface{})
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Println
deprecated
func Println(args ...interface{})
Deprecated: Printf
Types ¶
type Logger ¶
type Logger interface { Debug(args ...interface{}) Debugf(format string, args ...interface{}) Info(args ...interface{}) Infof(format string, args ...interface{}) Warn(args ...interface{}) Warnf(format string, args ...interface{}) Error(args ...interface{}) Errorf(format string, args ...interface{}) Fatal(args ...interface{}) Fatalf(format string, args ...interface{}) Panic(args ...interface{}) Sync() error Panicf(format string, args ...interface{}) Printf(format string, args ...interface{}) }
Click to show internal directories.
Click to hide internal directories.