nillogger

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2015 License: GPL-3.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Nil

type Nil struct{}

Nil is no configuration noop implementation of the Logger interface.

func New

func New(cfg *config.Logger) (*Nil, error)

New returns a new Nil logger.

func (*Nil) Debug

func (n *Nil) Debug(v ...interface{})

Debug is a noop

func (*Nil) Debugf

func (n *Nil) Debugf(format string, args ...interface{})

Debugf is a noop

func (*Nil) Error

func (n *Nil) Error(v ...interface{})

Error is a noop

func (*Nil) Errorf

func (n *Nil) Errorf(format string, args ...interface{})

Errorf is a noop

func (*Nil) Fatal

func (n *Nil) Fatal(v ...interface{})

Fatal is a noop

func (*Nil) Fatalf

func (n *Nil) Fatalf(format string, v ...interface{})

Fatalf is a noop

func (*Nil) Log

func (n *Nil) Log(v ...interface{})

Log is a noop

func (*Nil) Logf

func (n *Nil) Logf(format string, args ...interface{})

Logf is a noop

Jump to

Keyboard shortcuts

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