flag

package
v1.9.11 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: MIT Imports: 0 Imported by: 1

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 message will be processed, and printed independent of `Level`
	// restrictions.
	Force

	// Mute message will be processed, but not printed.
	Mute

	// Skip message will not be processed, neither formatted, but printed.
	Skip

	// SkipAndForce message will not be processed, , neither formatted, but will
	// be printed independent of `Level` restrictions.
	SkipAndForce

	// SkipAndMute message will not be processed, neither printed.
	SkipAndMute
)

func (Flag) String

func (f Flag) String() string

String interface implementation.

Jump to

Keyboard shortcuts

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