logging

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultPadding ensures all titles are indented by a set number of spaces
	DefaultPadding = 3

	// PrettyPadding ensures all other logging is indented twice the size of the default padding
	PrettyPadding = DefaultPadding * 2
)

Variables

This section is empty.

Functions

func Log

func Log(title string, act middleware.Action) middleware.Action

Log executes the given action and ensures the output is pretty printed. The title will always be followed by any indented output from the action itself

Types

This section is empty.

Jump to

Keyboard shortcuts

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