Documentation
¶
Index ¶
- func Error(err error)
- func GetConfig() *config
- func Info(msg string, args ...interface{})
- func InitTcpConnect(host, port string, RetryTimes int, intervals ...time.Duration)
- func SendLogSwitch(switchs bool)
- func SetLogConfig(topic, types, host, version, logPath string)
- func Warn(msg string, args ...interface{})
- type TcpClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitTcpConnect ¶
func SendLogSwitch ¶
func SendLogSwitch(switchs bool)
func SetLogConfig ¶
func SetLogConfig(topic, types, host, version, logPath string)
Types ¶
Click to show internal directories.
Click to hide internal directories.