appenders

package
v0.0.0-...-5731446 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2016 License: MIT Imports: 8 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Console

func Console() *consoleAppender

func Fluentd

func Fluentd(config fluent.Config) *fluentdAppender

func RollingFile

func RollingFile(filename string, append bool) *rollingFileAppender

func SafeFluentd

func SafeFluentd(config fluent.Config) (*fluentdAppender, error)

Types

type Appender

type Appender interface {
	Write(level levels.LogLevel, message string, args ...interface{})
	Layout() layout.Layout
	SetLayout(layout.Layout)
}

func Multiple

func Multiple(layout layout.Layout, appenders ...Appender) Appender

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL