log

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package log implements a logging interface.

Index

Constants

This section is empty.

Variables

View Source
var (
	Quiet   = false
	Verbose = false
)

Logging options.

Functions

func Debugf added in v0.1.0

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

Debugf prints a debug level message.

func Error

func Error(err error)

Error prints an error level message.

func InfoMaybeWithKeyf added in v0.1.0

func InfoMaybeWithKeyf(key string, showKey bool, format string, args ...interface{})

InfoMaybeWithKeyf prints an info level message optionally with prefixed key.

func InfoWithKeyf added in v0.1.0

func InfoWithKeyf(key string, format string, args ...interface{})

InfoWithKeyf prints an info level message with prefixed key.

func Infof added in v0.1.0

func Infof(format string, args ...interface{})

Infof prints an info level message.

func Warnf added in v0.1.0

func Warnf(format string, args ...interface{})

Warnf prints a warn level message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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