Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLogLevel ¶
Types ¶
type EventualLogger ¶
type EventualLogger []string
EventualLogger -- a structure to buffer log entries whose usefulnes cannot be determined at creation time (but only eventually)
func (*EventualLogger) Flush ¶
func (l *EventualLogger) Flush(target *logrus.Entry)
Flush -- writes out everything from buffer
func (*EventualLogger) FlushToFile ¶
func (l *EventualLogger) FlushToFile(nameHint string)
func (*EventualLogger) FlushToString ¶
func (l *EventualLogger) FlushToString() (s string)
func (*EventualLogger) Queuef ¶
func (l *EventualLogger) Queuef(format string, args ...interface{})
Queuef -- buffers the interpreted message to be written later
Click to show internal directories.
Click to hide internal directories.