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
Click to show internal directories.
Click to hide internal directories.