Documentation ¶
Index ¶
- func Colorize(colour Colour, format string) string
- func Debug(format string, v ...interface{})
- func Error(format string, v ...interface{})
- func Fatal(v ...interface{})
- func Fatalf(format string, v ...interface{})
- func Info(format string, v ...interface{})
- func Log(l LogLevel, format string, v ...interface{})
- func SetLevel(l LogLevel)
- func Trace(format string, v ...interface{})
- func Warn(format string, v ...interface{})
- type Colour
- type LogLevel
- type MuxyLogger
- func (m *MuxyLogger) Debug(format string, v ...interface{})
- func (m *MuxyLogger) Error(format string, v ...interface{})
- func (m *MuxyLogger) Fatal(v ...interface{})
- func (m *MuxyLogger) Fatalf(format string, v ...interface{})
- func (m *MuxyLogger) Info(format string, v ...interface{})
- func (m *MuxyLogger) Log(l LogLevel, format string, v ...interface{})
- func (m *MuxyLogger) SetLevel(l LogLevel)
- func (m *MuxyLogger) Trace(format string, v ...interface{})
- func (m *MuxyLogger) Warn(format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MuxyLogger ¶
Logging facility
func NewLogger ¶
func NewLogger() *MuxyLogger
func (*MuxyLogger) Debug ¶
func (m *MuxyLogger) Debug(format string, v ...interface{})
func (*MuxyLogger) Error ¶
func (m *MuxyLogger) Error(format string, v ...interface{})
func (*MuxyLogger) Fatal ¶
func (m *MuxyLogger) Fatal(v ...interface{})
func (*MuxyLogger) Fatalf ¶
func (m *MuxyLogger) Fatalf(format string, v ...interface{})
func (*MuxyLogger) Info ¶
func (m *MuxyLogger) Info(format string, v ...interface{})
func (*MuxyLogger) Log ¶
func (m *MuxyLogger) Log(l LogLevel, format string, v ...interface{})
func (*MuxyLogger) SetLevel ¶
func (m *MuxyLogger) SetLevel(l LogLevel)
func (*MuxyLogger) Trace ¶
func (m *MuxyLogger) Trace(format string, v ...interface{})
func (*MuxyLogger) Warn ¶
func (m *MuxyLogger) Warn(format string, v ...interface{})
Click to show internal directories.
Click to hide internal directories.