logging

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package logging is a helper for the "github.com/op/go-logging" package to reduce the lines of code within each go file to one line. The functions return Logger instances which are configured with the necessary backends and formatters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLog

func GetLog() *logging.Logger

GetLog returns an instance of a standard Logger preconfigured with a os.Stdout backend and a "normal" logging format (e.g. time - file - level).

func GetTestLog

func GetTestLog() *logging.Logger

GetTestLog returns an instance of a standard Logger preconfigured with a os.Stdout backend and a "normal" logging format (e.g. time - file - level).

Types

This section is empty.

Jump to

Keyboard shortcuts

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