github.com/bibaroc/wingman@v0.0.2-0.20200911182922-33c2085136b1/pkg/logger.go (about)

     1  package pkg
     2  
     3  type Logger interface {
     4  	Fatal(v ...interface{})
     5  	Fatalf(format string, v ...interface{})
     6  	Fatalln(v ...interface{})
     7  
     8  	Panic(v ...interface{})
     9  	Panicf(format string, v ...interface{})
    10  	Panicln(v ...interface{})
    11  
    12  	Print(v ...interface{})
    13  	Printf(format string, v ...interface{})
    14  	Println(v ...interface{})
    15  
    16  	Debug(v ...interface{})
    17  	Debugf(format string, v ...interface{})
    18  	Debugln(v ...interface{})
    19  
    20  	Trace(v ...interface{})
    21  	Tracef(format string, v ...interface{})
    22  	Traceln(v ...interface{})
    23  
    24  	Info(v ...interface{})
    25  	Infof(format string, v ...interface{})
    26  	Infoln(v ...interface{})
    27  
    28  	Warn(v ...interface{})
    29  	Warnf(format string, v ...interface{})
    30  	Warnln(v ...interface{})
    31  
    32  	Error(v ...interface{})
    33  	Errorf(format string, v ...interface{})
    34  	Errorln(v ...interface{})
    35  }