Documentation ¶
Index ¶
- func Debug(a ...interface{})
- func Debugf(format string, a ...interface{})
- func Debugln(a ...interface{})
- func Error(a ...interface{})
- func Errorf(format string, a ...interface{})
- func Errorln(a ...interface{})
- func Info(a ...interface{})
- func Infof(format string, a ...interface{})
- func Infoln(a ...interface{})
- func IsNormal() bool
- func IsQuiet() bool
- func IsVerbose() bool
- func Middleware() option.Middleware
- func Print(a ...interface{})
- func Printf(format string, a ...interface{})
- func Println(a ...interface{})
- func Prompt(a ...interface{})
- func Promptf(format string, a ...interface{})
- func Promptln(a ...interface{})
- func SetLogLevel(level Level)
- func SetLogOutput(w io.Writer)
- type FileWriter
- type Level
- type Printer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
func Middleware() option.Middleware
func SetLogLevel ¶
func SetLogLevel(level Level)
func SetLogOutput ¶
Types ¶
type FileWriter ¶
type FileWriter struct {
// contains filtered or unexported fields
}
func NewFileWriter ¶
func NewFileWriter(pathname string) (*FileWriter, error)
func (*FileWriter) Close ¶
func (cw *FileWriter) Close() error
Click to show internal directories.
Click to hide internal directories.