config

package
v0.0.0-...-7b2e207 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2018 License: AGPL-3.0 Imports: 2 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MessageOnlyBackend = logging.AddModuleLevel(logging.NewBackendFormatter(backend, format2))

MessageOnlyBackend represents a log backend that logs only the message (%{message})

Functions

func ConfigureLogger

func ConfigureLogger()

ConfigureLogger sets up the logger and it's backends

func MakeLogger

func MakeLogger(module string) *logging.Logger

MakeLogger creates a regular logger

func MakeLoggerMessageOnly

func MakeLoggerMessageOnly(module string) *logging.Logger

MakeLoggerMessageOnly creates a logger that displays format

Types

This section is empty.

Jump to

Keyboard shortcuts

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