loggers

package module
v0.0.0-...-f892709 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2018 License: MIT Imports: 3 Imported by: 8 modules, 11 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DIWElog

type DIWElog interface {
	SetDebugLogger(logger *log.Logger)
	SetInfoLogger(logger *log.Logger)
	SetWarningLogger(logger *log.Logger)
	SetErrorLogger(logger *log.Logger)
	SetLoggers(loggers *DIWEloggers)
}

type DIWEloggers

type DIWEloggers struct {
	Debug   *log.Logger
	Info    *log.Logger
	Warning *log.Logger
	Error   *log.Logger
}

func BasicLogSetup

func BasicLogSetup(debuglevel int) *DIWEloggers

func New

func New() *DIWEloggers

func (*DIWEloggers) InitLoggers

func (self *DIWEloggers) InitLoggers()

func (*DIWEloggers) SetDebugLogger

func (self *DIWEloggers) SetDebugLogger(logger *log.Logger)

func (*DIWEloggers) SetErrorLogger

func (self *DIWEloggers) SetErrorLogger(logger *log.Logger)

func (*DIWEloggers) SetInfoLogger

func (self *DIWEloggers) SetInfoLogger(logger *log.Logger)

func (*DIWEloggers) SetLoggers

func (self *DIWEloggers) SetLoggers(loggers *DIWEloggers)

func (*DIWEloggers) SetWarningLogger

func (self *DIWEloggers) SetWarningLogger(logger *log.Logger)

Jump to

Keyboard shortcuts

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