Documentation
¶
Index ¶
- type Fields
- type SimpleLogger
- func (s SimpleLogger) Debug(eid uint32, msg string, fields map[string]interface{})
- func (s SimpleLogger) Error(eid uint32, msg string, fields map[string]interface{})
- func (s SimpleLogger) Fatal(eid uint32, msg string, fields map[string]interface{})
- func (s SimpleLogger) Info(eid uint32, msg string, fields map[string]interface{})
- func (s SimpleLogger) Warning(eid uint32, msg string, fields map[string]interface{})
- func (s SimpleLogger) WriteLog(level string, eid uint32, msg string, fields map[string]interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fields ¶
type Fields map[string]interface{}
Fields is a map of key-value pairs for additional log information
type SimpleLogger ¶
type SimpleLogger struct {
// contains filtered or unexported fields
}
func (SimpleLogger) Debug ¶
func (s SimpleLogger) Debug(eid uint32, msg string, fields map[string]interface{})
func (SimpleLogger) Error ¶
func (s SimpleLogger) Error(eid uint32, msg string, fields map[string]interface{})
func (SimpleLogger) Fatal ¶
func (s SimpleLogger) Fatal(eid uint32, msg string, fields map[string]interface{})
func (SimpleLogger) Info ¶
func (s SimpleLogger) Info(eid uint32, msg string, fields map[string]interface{})
Click to show internal directories.
Click to hide internal directories.