log

package
v1.0.0-...-2c5e063 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const LoggerOsx = "osx"

LoggerOsx defines the name for the logger used for the mgo package

Variables

This section is empty.

Functions

func Disable

func Disable()

Disable disables logging for the mgo package by assigning a the nil implementation of ILogger

func Get

func Get() log.ILogger

Get returns the current logger instance

func Set

func Set(logger log.ILogger)

Set assigns a new ILogger instance to be used as the logger for the mgo package

Types

This section is empty.

Jump to

Keyboard shortcuts

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