Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToApexLogLevel ¶
ToApexLogLevel gets the Apex log level from Verbosity
Types ¶
type ComponentTextHandler ¶
type ComponentTextHandler struct {
// contains filtered or unexported fields
}
ComponentTextHandler with additional handling of "component" field for identification of sub components
func NewComponentTextHandler ¶
func NewComponentTextHandler(w io.Writer) *ComponentTextHandler
NewComponentTextHandler builds new handler.
type Verbosity ¶
type Verbosity int
Verbosity is a verbosity level that can be mapped to log levels. Higher numbers mean more verbose logging.
const ( // VerbosityFatal is least verbose VerbosityFatal Verbosity = 0 // VerbosityError only logs errors VerbosityError Verbosity = 1 // VerbosityWarn also logs warnings VerbosityWarn Verbosity = 2 // VerbosityInfo also logs informational messages VerbosityInfo Verbosity = 3 // VerbosityDebug is most verbose VerbosityDebug Verbosity = 4 )
Click to show internal directories.
Click to hide internal directories.