logger

package
v0.0.0-...-f19ae85 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2015 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(api *logger.State, agentConfig agent.Config) worker.Worker

NewLogger returns a worker.Worker that uses the notify watcher returned from the setup.

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

Logger is responsible for updating the loggo configuration when the environment watcher tells the agent that the value has changed.

func (*Logger) Handle

func (logger *Logger) Handle() error

func (*Logger) SetUp

func (logger *Logger) SetUp() (watcher.NotifyWatcher, error)

func (*Logger) TearDown

func (logger *Logger) TearDown() error

Jump to

Keyboard shortcuts

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