Documentation ¶
Index ¶
- func Close()
- func Error(topic string, logs map[string]string) error
- func Info(topic string, logs map[string]string) error
- func InitLog(configName, LogStore string)
- func SetGLog()
- type AliyunLog
- func (aLog *AliyunLog) Debug(args ...interface{})
- func (aLog *AliyunLog) DebugF(format string, args ...interface{})
- func (aLog *AliyunLog) Error(args ...interface{})
- func (aLog *AliyunLog) ErrorF(format string, args ...interface{})
- func (aLog *AliyunLog) Info(args ...interface{})
- func (aLog *AliyunLog) InfoF(format string, args ...interface{})
- func (aLog *AliyunLog) Warn(args ...interface{})
- func (aLog *AliyunLog) WarnF(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AliyunLog ¶
type AliyunLog struct { AccessKey string SecretKey string Endpoint string Project string LogStore string HostName string Log *producer.Producer logx.GLog }
AliyunLog 阿里云日志配置结构体
var LogClient AliyunLog
LogClient 对外原生实例
Click to show internal directories.
Click to hide internal directories.