Documentation
¶
Index ¶
- type FuncLogger
- type Logger
- type NoopFuncLogger
- type NoopLogger
- type UIFuncLogger
- type UILogger
- func (l *UILogger) Debug(msg string, args ...interface{})
- func (l *UILogger) DebugFunc(name string) FuncLogger
- func (l *UILogger) Error(msg string, args ...interface{})
- func (l *UILogger) Info(msg string, args ...interface{})
- func (l *UILogger) NewPrefixed(name string) Logger
- func (l *UILogger) SetDebug(debug bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FuncLogger ¶
type FuncLogger interface {
Finish()
}
type NoopFuncLogger ¶
type NoopFuncLogger struct{}
func (NoopFuncLogger) Finish ¶
func (l NoopFuncLogger) Finish()
type NoopLogger ¶
type NoopLogger struct{}
func NewNoopLogger ¶
func NewNoopLogger() NoopLogger
func NewTODOLogger ¶
func NewTODOLogger() NoopLogger
func (NoopLogger) Debug ¶
func (l NoopLogger) Debug(msg string, args ...interface{})
func (NoopLogger) DebugFunc ¶
func (l NoopLogger) DebugFunc(name string) FuncLogger
func (NoopLogger) Error ¶
func (l NoopLogger) Error(msg string, args ...interface{})
func (NoopLogger) Info ¶
func (l NoopLogger) Info(msg string, args ...interface{})
func (NoopLogger) NewPrefixed ¶
func (l NoopLogger) NewPrefixed(name string) Logger
type UIFuncLogger ¶
type UIFuncLogger struct {
// contains filtered or unexported fields
}
func (*UIFuncLogger) Finish ¶
func (l *UIFuncLogger) Finish()
func (*UIFuncLogger) Start ¶
func (l *UIFuncLogger) Start()
type UILogger ¶
type UILogger struct {
// contains filtered or unexported fields
}
func NewUILogger ¶
func (*UILogger) DebugFunc ¶
func (l *UILogger) DebugFunc(name string) FuncLogger
func (*UILogger) NewPrefixed ¶
Click to show internal directories.
Click to hide internal directories.