outputstdout

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2016 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Output-plug: outputstdout The plug's function take the event-data into the standard-output.

Index

Constants

View Source
const (
	ModuleName = "stdout"
)

Variables

This section is empty.

Functions

func InitHandler

func InitHandler(confraw *utils.ConfigRaw) (retconf utils.TypeOutputConfig, err error)

Init outputstdout Handler.

Types

type OutputConfig

type OutputConfig struct {
	utils.OutputConfig
}

Define outputstdout' config.

func (*OutputConfig) Event

func (oc *OutputConfig) Event(event utils.LogEvent) (err error)

Input's event,and this is the main function of output.

Jump to

Keyboard shortcuts

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