Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SnapshotListener ¶
type SnapshotListener struct {
// contains filtered or unexported fields
}
這是一個 stdout 的日誌監聽器,如果你不即使讀取它,它將只保留最後的兩個日誌
type Wrap ¶
對 zap.Logger 的包裝
var Logger Wrap
日誌單例
func (*Wrap) ConsoleLevel ¶
func (l *Wrap) ConsoleLevel() zap.AtomicLevel
func (*Wrap) FileLevel ¶
func (l *Wrap) FileLevel() zap.AtomicLevel
Click to show internal directories.
Click to hide internal directories.