logs

package
v0.20.5 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package logs exposes info, warning and error loggers.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Info is a logger at the 'info' logging level.
	Info *log.Logger
	// Warn is a logger at the 'warning' logging level.
	Warn *log.Logger
	// Err is a logger at the 'error' logging level.
	Err *log.Logger
)

Functions

func Init

func Init(output io.Writer, logFlags string)

Init initializes info, warning and error loggers given the flags and the output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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