Documentation ¶
Index ¶
Constants ¶
View Source
const STACK_TRACE_BUFFER_SIZE = 1024 * 100
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogFormat ¶
type Logger ¶
type ReconfigurableSink ¶
type ReconfigurableSink struct {
// contains filtered or unexported fields
}
func NewReconfigurableSink ¶
func NewReconfigurableSink(sink Sink, initialMinLogLevel LogLevel) *ReconfigurableSink
func (*ReconfigurableSink) GetMinLevel ¶
func (sink *ReconfigurableSink) GetMinLevel() LogLevel
func (*ReconfigurableSink) Log ¶
func (sink *ReconfigurableSink) Log(level LogLevel, log []byte)
func (*ReconfigurableSink) SetMinLevel ¶
func (sink *ReconfigurableSink) SetMinLevel(level LogLevel)
Click to show internal directories.
Click to hide internal directories.