Documentation ¶
Index ¶
- type HiedaBackendWriter
- func (b *HiedaBackendWriter) EmitComplexLog(module string, level hiedalog.HiedaLogLevel, data map[string]string)
- func (b *HiedaBackendWriter) EmitStringLog(module string, level hiedalog.HiedaLogLevel, content string)
- func (b *HiedaBackendWriter) SetComplexFormatter(f HiedaComplexLogFormatter)
- func (b *HiedaBackendWriter) SetStringFormatter(f HiedaStringLogFormatter)
- type HiedaComplexLogFormatter
- type HiedaComplexLogJsonFormatter
- type HiedaComplexLogJsonWithTimeFormatter
- type HiedaStringLogDefaultFormatter
- type HiedaStringLogDefaultWithTimeFormatter
- type HiedaStringLogFormatter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HiedaBackendWriter ¶
type HiedaBackendWriter struct {
// contains filtered or unexported fields
}
func NewHiedaBackendWriter ¶
func NewHiedaBackendWriter(writer io.Writer) *HiedaBackendWriter
func (*HiedaBackendWriter) EmitComplexLog ¶
func (b *HiedaBackendWriter) EmitComplexLog(module string, level hiedalog.HiedaLogLevel, data map[string]string)
func (*HiedaBackendWriter) EmitStringLog ¶
func (b *HiedaBackendWriter) EmitStringLog(module string, level hiedalog.HiedaLogLevel, content string)
func (*HiedaBackendWriter) SetComplexFormatter ¶
func (b *HiedaBackendWriter) SetComplexFormatter(f HiedaComplexLogFormatter)
func (*HiedaBackendWriter) SetStringFormatter ¶
func (b *HiedaBackendWriter) SetStringFormatter(f HiedaStringLogFormatter)
type HiedaComplexLogJsonFormatter ¶
type HiedaComplexLogJsonFormatter struct { }
func (*HiedaComplexLogJsonFormatter) FormatHiedaComplexLog ¶
type HiedaComplexLogJsonWithTimeFormatter ¶
type HiedaComplexLogJsonWithTimeFormatter struct { }
func (*HiedaComplexLogJsonWithTimeFormatter) FormatHiedaComplexLog ¶
type HiedaStringLogDefaultFormatter ¶
type HiedaStringLogDefaultFormatter struct { }
func (*HiedaStringLogDefaultFormatter) FormatHiedaStringLog ¶
func (f *HiedaStringLogDefaultFormatter) FormatHiedaStringLog(module string, level string, data string) string
type HiedaStringLogDefaultWithTimeFormatter ¶
type HiedaStringLogDefaultWithTimeFormatter struct { }
func (*HiedaStringLogDefaultWithTimeFormatter) FormatHiedaStringLog ¶
func (f *HiedaStringLogDefaultWithTimeFormatter) FormatHiedaStringLog(module string, level string, data string) string
Click to show internal directories.
Click to hide internal directories.