Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BytesBufferPool ¶
func NewBytesBufferPool ¶
func NewBytesBufferPool(initialSize, maximumSize int) BytesBufferPool
NewBytesBufferPool 创建并返回 BytesBufferPool
type Entry ¶
type Entry struct { Message string `json:"msg"` Time string `json:"time,omitempty"` Caller *logsdk.Frame `json:"caller,omitempty"` Stack []logsdk.Frame `json:"stack,omitempty"` Fields []logsdk.KV `json:"fields,omitempty"` Level logsdk.Level `json:"level"` }
Entry 被用来 JSON 序列化
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option 配置日志处理对象
func WithDisableHTMLEscape ¶
WithDisableHTMLEscape 配置禁止 HTML 转义
Click to show internal directories.
Click to hide internal directories.