log

package
v1.0.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

log is a package that summarizes the log output functions. If you want to output the log, rewrite the package variable.

Index

Constants

This section is empty.

Variables

View Source
var (
	Debug  Log  = NilLog
	Debugf Logf = NilLogf
	Info   Log  = NilLog
	Infof  Logf = NilLogf
	Warn   Log  = NilLog
	Warnf  Logf = NilLogf
	Error  Log  = NilLog
	Errorf Logf = NilLogf
)

Functions

func NilLog

func NilLog(args ...interface{})

NilLog is a function that outputs nothing.

func NilLogf

func NilLogf(formatMsg string, args ...interface{})

NilLogf is a function that outputs nothing.

Types

type Log

type Log func(args ...interface{})

type Logf

type Logf func(formatMsg string, args ...interface{})

Jump to

Keyboard shortcuts

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