Documentation ¶
Index ¶
- Constants
- type CondLogger
- func (cl *CondLogger) Critical(s string, v ...interface{}) error
- func (cl *CondLogger) Debug(s string, v ...interface{}) error
- func (cl *CondLogger) Error(s string, v ...interface{}) error
- func (cl *CondLogger) Info(s string, v ...interface{}) error
- func (cl *CondLogger) Log(verb int, format string, v ...interface{}) error
- func (cl *CondLogger) Warning(s string, v ...interface{}) error
- type LogWriter
Constants ¶
View Source
const ( CRITICAL = 50 ERROR = 40 WARNING = 30 INFO = 20 DEBUG = 10 NOTSET = 0 )
View Source
const MAX_LOG_QLEN = 128
View Source
const QUEUE_SHUTDOWN_TIMEOUT = 500 * time.Millisecond
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CondLogger ¶
type CondLogger struct {
// contains filtered or unexported fields
}
func NewCondLogger ¶
func NewCondLogger(logger *log.Logger, verbosity int) *CondLogger
func (*CondLogger) Critical ¶
func (cl *CondLogger) Critical(s string, v ...interface{}) error
func (*CondLogger) Debug ¶
func (cl *CondLogger) Debug(s string, v ...interface{}) error
func (*CondLogger) Error ¶
func (cl *CondLogger) Error(s string, v ...interface{}) error
func (*CondLogger) Info ¶
func (cl *CondLogger) Info(s string, v ...interface{}) error
func (*CondLogger) Warning ¶
func (cl *CondLogger) Warning(s string, v ...interface{}) error
Click to show internal directories.
Click to hide internal directories.