log

package
v0.0.0-...-4b634d0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package log implements standard logging.

Index

Constants

This section is empty.

Variables

View Source
var (
	Stderr io.Writer = os.Stderr
	Stdout io.Writer = os.Stdout
)

Standard writers for the log package.

Functions

func Errorf

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

Errorf formats according to a format specifier and writes to standard error. It panics if any write error encountered.

func Fprintf

func Fprintf(w io.Writer, format string, args ...interface{})

Fprintf formats according to a format specifier and writes to w. It panics if any write error encountered.

func Printf

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

Printf formats according to a format specifier and writes to standard output. It panics if any write error encountered.

Types

This section is empty.

Jump to

Keyboard shortcuts

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