Documentation ¶
Index ¶
- type AliSLSConfig
- type AliSLSConfigExtend
- type HiedaBackendAliSLS
- func (b *HiedaBackendAliSLS) EmitComplexLog(module string, level hiedalog.HiedaLogLevel, data map[string]string)
- func (b *HiedaBackendAliSLS) EmitStringLog(module string, level hiedalog.HiedaLogLevel, content string)
- func (l *HiedaBackendAliSLS) SafeStopProducer()
- func (l *HiedaBackendAliSLS) StartProducer()
- func (l *HiedaBackendAliSLS) StopProducer(timeout_ms int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliSLSConfig ¶
type AliSLSConfigExtend ¶
type AliSLSConfigExtend struct { TotalSizeLnBytes int64 MaxIoWorkerCount int64 MaxBlockSec int MaxBatchSize int64 MaxBatchCount int LingerMs int64 Retries int MaxReservedAttempts int BaseRetryBackoffMs int64 MaxRetryBackoffMs int64 AdjustShargHash bool Buckets int AllowLogLevel string LogFileName string IsJsonType bool LogMaxSize int LogMaxBackups int LogCompress bool NoRetryStatusCodeList []int }
type HiedaBackendAliSLS ¶
type HiedaBackendAliSLS struct {
// contains filtered or unexported fields
}
func NewHiedaBackendAliSLS ¶
func NewHiedaBackendAliSLS(cfg AliSLSConfig, extraAliSLSConfig *AliSLSConfigExtend) *HiedaBackendAliSLS
func (*HiedaBackendAliSLS) EmitComplexLog ¶
func (b *HiedaBackendAliSLS) EmitComplexLog(module string, level hiedalog.HiedaLogLevel, data map[string]string)
func (*HiedaBackendAliSLS) EmitStringLog ¶
func (b *HiedaBackendAliSLS) EmitStringLog(module string, level hiedalog.HiedaLogLevel, content string)
func (*HiedaBackendAliSLS) SafeStopProducer ¶
func (l *HiedaBackendAliSLS) SafeStopProducer()
func (*HiedaBackendAliSLS) StartProducer ¶
func (l *HiedaBackendAliSLS) StartProducer()
func (*HiedaBackendAliSLS) StopProducer ¶
func (l *HiedaBackendAliSLS) StopProducer(timeout_ms int64) error
Click to show internal directories.
Click to hide internal directories.