Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetByGinCtx ¶
Types ¶
type Logger ¶
type Logger interface {
Info(string)
Debug(string)
Warn(string)
Error(string)
ErrorPkg(error)
WarnPkg(error)
}
func GetByGinCtx ¶
type LoggerConf ¶
type LoggerConf struct {
FluentLog *fluentLog `yaml:"fluentd,omitempty"`
}
func NewLogerConfWithFluentd ¶
func NewLogerConfWithFluentd(host string, port int) *LoggerConf
Click to show internal directories.
Click to hide internal directories.