Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultPadding ensures all titles are indented by a set number of spaces DefaultPadding = 3 // PrettyPadding ensures all other logging is indented twice the size of the default padding PrettyPadding = DefaultPadding * 2 )
Variables ¶
This section is empty.
Functions ¶
func Log ¶
func Log(title string, act middleware.Action) middleware.Action
Log executes the given action and ensures the output is pretty printed. The title will always be followed by any indented output from the action itself
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.