Documentation
¶
Overview ¶
Package log configures the leveled logging used throughout Pact Go. It filters the standard library's log output by level (TRACE, DEBUG, INFO, WARN, ERROR), defaulting to INFO, or to the PACT_LOG_LEVEL or LOG_LEVEL environment variable if set.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PactCrash ¶
func PactCrash(err error)
PactCrash panics with err wrapped in a crash report asking the caller to open a bug report against Pact Go, for use where Pact Go cannot recover.
func SetLogLevel ¶
SetLogLevel sets the default log level for the Pact framework.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.