logconfig

package
v0.0.0-...-be0919c Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2018 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bootstrap

func Bootstrap()

Bootstrap loads seelog package into the overall system

func CaptureLogs

func CaptureLogs(f func()) []string

CaptureLogs captures all logger output done during callback execution

func NewLoggerCapture

func NewLoggerCapture(messages *[]string) seelog.LoggerInterface

NewLoggerCapture creates logger logs to given array of messages

func ReplaceLogger

func ReplaceLogger(loggerNew seelog.LoggerInterface) (loggerOld seelog.LoggerInterface)

ReplaceLogger replaces by disposing logger that was previously used

Types

This section is empty.

Jump to

Keyboard shortcuts

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