flag

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flag

type Flag int

Flag defines behaviours.

const (
	None Flag = iota

	// Force if set message will be processed, and printed independent of
	// `Level` restrictions.
	Force

	// Mute if set, message will not be printed.
	Mute

	// Skip if set, processors will ignore the message, and do nothing.
	Skip
)

func (Flag) String

func (f Flag) String() string

String translates enum flags to string.

Jump to

Keyboard shortcuts

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