Documentation ¶
Index ¶
- type FormattedWriter
- func (w *FormattedWriter) Fire(entry *log.Entry) error
- func (w *FormattedWriter) Formatter() log.Formatter
- func (w *FormattedWriter) Levels() []log.Level
- func (w *FormattedWriter) Output() io.Writer
- func (w *FormattedWriter) SetFormatter(formatter log.Formatter)
- func (w *FormattedWriter) SetOutput(output io.Writer)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FormattedWriter ¶
type FormattedWriter struct {
// contains filtered or unexported fields
}
func NewFormattedWriter ¶
func NewFormattedWriter(levels []log.Level) *FormattedWriter
func (*FormattedWriter) Formatter ¶
func (w *FormattedWriter) Formatter() log.Formatter
func (*FormattedWriter) Levels ¶
func (w *FormattedWriter) Levels() []log.Level
func (*FormattedWriter) Output ¶
func (w *FormattedWriter) Output() io.Writer
func (*FormattedWriter) SetFormatter ¶
func (w *FormattedWriter) SetFormatter(formatter log.Formatter)
func (*FormattedWriter) SetOutput ¶
func (w *FormattedWriter) SetOutput(output io.Writer)
Click to show internal directories.
Click to hide internal directories.