Documentation
¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppLogFunc ¶
type FileWriter ¶
func NewFileWriter ¶
func NewFileWriter(logDir string, bufferSize, flushInterval int, maxSize uint64) *FileWriter
func (*FileWriter) Sync ¶
func (fw *FileWriter) Sync() error
type LoggingSetting ¶
type Option ¶
type Option func(spoor *Spoor)
func WithConsoleWriter ¶
func WithFileWriter ¶
func WithFileWriter(writer *FileWriter) Option
Click to show internal directories.
Click to hide internal directories.