logging

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Sensor is the sensor logger
	Sensor *log.Logger

	// Errors is the errors logger
	Errors *log.Logger

	// Warnings is the warnings logger
	Warnings *log.Logger

	// Std is the standard logger
	Std *log.Logger
)
View Source
var (
	// LogChan is the channel used to receive events to be logged
	LogChan = make(chan events.Event)
)

Functions

func InitLoggers

func InitLoggers() error

InitLoggers setup the logging environment and initialize the loggers according to the loaded configuration

func Start

func Start(quitErrChan chan error, shutdownChan chan bool, loggerStoppedChan chan bool)

Start starts the logging pipeline

Types

This section is empty.

Jump to

Keyboard shortcuts

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