hiedabke_writer

package module
v0.0.0-...-c2545e8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2023 License: MIT Imports: 5 Imported by: 2

Documentation

Index

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 HiedaComplexLogFormatter

type HiedaComplexLogFormatter interface {
	FormatHiedaComplexLog(module string, level string, data map[string]string) string
}

type HiedaComplexLogJsonFormatter

type HiedaComplexLogJsonFormatter struct {
}

func (*HiedaComplexLogJsonFormatter) FormatHiedaComplexLog

func (f *HiedaComplexLogJsonFormatter) FormatHiedaComplexLog(module string, level string, data map[string]string) string

type HiedaComplexLogJsonWithTimeFormatter

type HiedaComplexLogJsonWithTimeFormatter struct {
}

func (*HiedaComplexLogJsonWithTimeFormatter) FormatHiedaComplexLog

func (f *HiedaComplexLogJsonWithTimeFormatter) FormatHiedaComplexLog(module string, level string, data map[string]string) string

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

type HiedaStringLogFormatter

type HiedaStringLogFormatter interface {
	FormatHiedaStringLog(module string, level string, data string) string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL