Documentation ¶
Overview ¶
Package logstream is used to buffer and write logs to a log stream server
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogBuffer ¶
type LogBuffer struct {
// contains filtered or unexported fields
}
LogBuffer stores logs in a file and limits the amount of logs written
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer is responsible for buffering and writing logs to the specified log sink
func (*Writer) Flush ¶
func (j *Writer) Flush()
Flush will attempt to send all logs currently stored in the buffer
Click to show internal directories.
Click to hide internal directories.