logger

package
v0.0.0-...-43bc6bd Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Available = []string{}
View Source
var Backend = newBackend()
View Source
var Logger = newLogger()
View Source
var Registered = make(map[string]*logging.Logger)

Functions

func Init

func Init(level int)

Init initializes logging. This should ALWAYS be called in your program.

func Register

func Register(name string) *logging.Logger

Register creates a new logger if this component is set for logging

func Watch

func Watch(logger string)

Watch will add the given logger to the list of available loggers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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