logger

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2017 License: Apache-2.0 Imports: 2 Imported by: 15

Documentation

Overview

Logging configuration and management

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLogger

func GetLogger(module string) *logging.Logger

func InitWithDefaultLogger

func InitWithDefaultLogger(module string)

func Logger

func Logger() *logging.Logger

func SetLevel

func SetLevel(level LogLevel, module string)

Types

type LogLevel

type LogLevel int
const (
	CRITICAL LogLevel = iota
	ERROR
	WARNING
	NOTICE
	INFO
	DEBUG
)

Jump to

Keyboard shortcuts

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