headerstyle

package
v1.5.10 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HeaderStyle

type HeaderStyle int

HeaderStyle is the style of logging header

const (
	DoNotLog    HeaderStyle = 0
	LogCombined HeaderStyle = iota
	LogPerName
	LogPerValue
)

These are the enum definitions of log types and presets

func FromString

func FromString(value string) HeaderStyle

FromString converts a string representation of HeaderStyle flag to its strongly typed instance

func (HeaderStyle) String

func (headerStyle HeaderStyle) String() string

FromString converts a HeaderStyle flag instance to its string representation

Jump to

Keyboard shortcuts

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