nop

package
v0.25.2 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2023 License: MIT Imports: 0 Imported by: 2

Documentation

Overview

Package nop is no-operation logging.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log struct{}

Log is no-operation logging.

func New

func New() *Log

New to create new no-operation logging.

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