log

package
v0.11.3-genericstreaming Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 11 modules, 22 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Verbose bool

Verbose decides whether the informatc logs should be output.

Functions

func Info

func Info(v ...interface{})

Info .

func Infof

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

Infof .

func SetDefaultLogger

func SetDefaultLogger(l Logger)

SetDefaultLogger sets the default logger.

func Warn

func Warn(v ...interface{})

Warn .

func Warnf

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

Warnf .

Types

type Logger

type Logger struct {
	Println func(w io.Writer, a ...interface{}) (n int, err error)
	Printf  func(w io.Writer, format string, a ...interface{}) (n int, err error)
}

Logger .

Jump to

Keyboard shortcuts

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