Documentation ¶
Index ¶
Constants ¶
View Source
const ( PatternConfDefault = "[%d] [%p] %c - %m" PatternConfMessagePassThrough = "%m" PatternConfColoured = "%[[%d] [%p] %c%] - %m" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LayoutConfiguration ¶
type LayoutConfiguration interface { GetType() LayoutType GetPattern() PatternConfig }
type LayoutContext ¶
type LayoutType ¶
type LayoutType uint8
const ( LayoutTypeDefault LayoutType = iota LayoutTypeBasic LayoutTypeColoured LayoutTypeMessagePassThrough LayoutTypePattern )
func (LayoutType) IsValid ¶
func (lt LayoutType) IsValid() bool
func (LayoutType) String ¶
func (lt LayoutType) String() string
type PatternConfig ¶
type PatternConfig string
Click to show internal directories.
Click to hide internal directories.