logging

package
v0.0.0-...-40af6fe Latest Latest
Warning

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

Go to latest
Published: May 4, 2016 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package logging provides log interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureLogger

func ConfigureLogger(testConfig []byte)

ConfigureLogger configures the new logger according to the configuration and sets it as the current logger.

func DisableLog

func DisableLog()

DisableLog disables all library log output.

func FlushLog

func FlushLog()

FlushLog is a wrapper for seelog's Flush function. It flushes all the messages in the logger.

func Logger

func Logger() seelog.LoggerInterface

Logger returns internal logger object to achieve logging.

func UseLogger

func UseLogger(newLogger seelog.LoggerInterface)

UseLogger is a wrapper for Seelog's UseLogger function. It sets the newLogger as the current logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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