Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFileWriter ¶
func NewFileWriter(logFilePath string) zapcore.WriteSyncer
newFileWriter 创建文件 Writer,确保路径存在
Types ¶
type LokiWriter ¶
type LokiWriter struct {
// contains filtered or unexported fields
}
func (*LokiWriter) Sync ¶
func (w *LokiWriter) Sync() error
Click to show internal directories.
Click to hide internal directories.