nolog

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package nolog is just a mock of logging which do nothing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log struct{}

Log is mock of logging.

func New

func New() *Log

New to create new mock logging client.

func (*Log) Debug

func (l *Log) Debug(fmt string, args ...interface{})

Debug to do nothing.

func (*Log) Error

func (l *Log) Error(fmt string, args ...interface{})

Error to do nothing.

func (*Log) Fatal

func (l *Log) Fatal(fmt string, args ...interface{})

Fatal to do nothing.

func (*Log) Info

func (l *Log) Info(fmt string, args ...interface{})

Info to do nothing.

func (*Log) Log

func (l *Log) Log(fields map[string]interface{})

Log to do nothing.

func (*Log) Panic

func (l *Log) Panic(fmt string, args ...interface{})

Panic to do nothing.

func (*Log) Trace

func (l *Log) Trace(fmt string, args ...interface{})

Trace to do nothing.

func (*Log) Warn

func (l *Log) Warn(fmt string, args ...interface{})

Warn to do nothing.

Jump to

Keyboard shortcuts

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