Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLogger ¶
func NewLogger(debug bool) *zap.SugaredLogger
func NewTestLogger ¶
func NewTestLogger(t *testing.T) *zap.SugaredLogger
func SetOutputFormat ¶
func SetOutputFormat(of OutputFormat)
Types ¶
type OutputFormat ¶
type OutputFormat string
const ( OutputFormatJSON OutputFormat = "json" OutputFormatPlain OutputFormat = "plain" )
Click to show internal directories.
Click to hide internal directories.