Documentation
¶
Index ¶
Constants ¶
View Source
const ( ES_APP = "observatrace_system_log__0_" ES_TYPE = "events" BULK_SIZE = 8192 RECONNECT_INTERVAL = time.Minute )
View Source
const ( LOG_TYPE = "daemon" LOG_MODULE = "trident" )
View Source
const (
BUFSIZE = 4096
)
View Source
const (
QUEUE_BATCH_SIZE = 1024
)
Variables ¶
This section is empty.
Functions ¶
func NewSyslogWriter ¶
Types ¶
type DailyRotateWriter ¶
type DailyRotateWriter struct {
// contains filtered or unexported fields
}
func NewRotateWriter ¶
func NewRotateWriter(filename string) *DailyRotateWriter
func (*DailyRotateWriter) Close ¶
func (w *DailyRotateWriter) Close() error
func (*DailyRotateWriter) Flush ¶
func (w *DailyRotateWriter) Flush() error
Click to show internal directories.
Click to hide internal directories.