Documentation
¶
Index ¶
- Variables
- func Debug(ident string, mesg string)
- func Destr()
- func Error(ident string, mesg string)
- func Info(ident string, mesg string)
- func Warning(ident string, mesg string)
- func YLog(level int, ident string, msg string)
- func YLogInit(YLogConfig YLogType, interfaceName string) error
- type YLogOutType
- type YLogType
Constants ¶
This section is empty.
Variables ¶
View Source
var F [6]*os.File
Functions ¶
Types ¶
type YLogOutType ¶
type YLogOutType struct {
LogType string `json:"logtype"` // возможные значения - file, syslog, fluent
LogFile string `json:"logfile"`
DebugFile string `json:"debugfile"`
InfoFile string `json:"infofile"`
WarningFile string `json:"warningfile"`
ErrorFile string `json:"errorfile"`
NoticeFile string `json:"noticefile"`
ServerIP string `json:"server_ip"`
ServerPort int `json:"server_port"`
}
type YLogType ¶
type YLogType struct {
Debug string `json:"debug"`
YLogOut []YLogOutType `json:"ylogout"`
}
структуры для конфигурационного файла при использовании пакета
Click to show internal directories.
Click to hide internal directories.