Documentation ¶
Index ¶
- type H2OLogger
- func (log *H2OLogger) Close()
- func (log *H2OLogger) Critical(format string, args ...interface{})
- func (log *H2OLogger) Debug(format string, args ...interface{})
- func (log *H2OLogger) Error(format string, args ...interface{})
- func (log *H2OLogger) Errorf(format string, args ...interface{})
- func (log *H2OLogger) Info(format string, args ...interface{})
- func (log *H2OLogger) Infof(format string, args ...interface{})
- func (log *H2OLogger) SetConsole(enable bool)
- func (log *H2OLogger) SetFileLog(fn string, level string, rotateMaxSize int, rotateMaxLine int, ...)
- func (log *H2OLogger) Trace(format string, args ...interface{})
- func (log *H2OLogger) Warn(format string, args ...interface{})
- func (log *H2OLogger) Warningf(format string, args ...interface{})
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type H2OLogger ¶
type H2OLogger struct {
// contains filtered or unexported fields
}
func NewH2OLogger ¶
func NewH2OLogger() *H2OLogger
func (*H2OLogger) SetConsole ¶
func (*H2OLogger) SetFileLog ¶
type Logger ¶
type Logger interface { Trace(format string, args ...interface{}) Debug(format string, args ...interface{}) Info(format string, args ...interface{}) Warn(format string, args ...interface{}) Error(format string, args ...interface{}) Critical(format string, args ...interface{}) Infof(format string, args ...interface{}) Warningf(format string, args ...interface{}) Errorf(format string, args ...interface{}) }
Click to show internal directories.
Click to hide internal directories.