logs

package module
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 License: MIT Imports: 4 Imported by: 0

README

logs

Provides sensible loggers for Snart.

Documentation

Overview

Package log provides utilities for getting sensible loggers.

Index

Constants

This section is empty.

Variables

View Source
var Debug = (*nilog.Logger)(nil)

Debug is a *nilog.Logger for debugging purposes, and is nil unless the debug tag is enabled.

View Source
var Info = nilog.New(
	colorable.NewColorableStdout(),
	aurora.Green("[info ] ").String(),
	flags,
)

Info is a *nilog.Logger for healthy, informational logs.

View Source
var Warn = nilog.New(
	colorable.NewColorableStderr(),
	aurora.Red("[warn ] ").String(),
	flags,
)

Warn is a *nilog.Logger for unhealthy, warning logs.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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