Versions in this module Expand all Collapse all v0 v0.1.0 Aug 14, 2019 Changes in this version + type CLSAsyncClient struct + func NewCLSAsyncClient(region, secretID, secretKey, topicID string, batch int, delay time.Duration) (*CLSAsyncClient, error) + func (c *CLSAsyncClient) Log(log *pb.Log) error + type CLSClient struct + SecretID string + SecretKey string + TopicID string + URL string + func NewCLSClient(region, secretID, secretKey, topicID string) (*CLSClient, error) + func (c *CLSClient) Log(log *pb.Log) error + func (c *CLSClient) UploadStructuredLog(logGroupList *pb.LogGroupList) error + type CLSLogger interface + Log func(log *pb.Log) error + type Hook struct + func NewHook(client CLSLogger) (*Hook, error) + func (hook *Hook) Fire(entry *logrus.Entry) error + func (hook *Hook) Levels() []logrus.Level