Documentation ¶
Overview ¶
Package logging holds the implementation for adapter logs.
Index ¶
Constants ¶
View Source
const ( TEXT = "TEXT" JSON = "JSON" )
Log Formalization Constants
View Source
const ( BLOCKER = "Blocker" CRITICAL = "Critical" MAJOR = "Major" MINOR = "Minor" TRIVIAL = "Trivial" DEFAULT = "Default" )
Log (Error) severity level constants
View Source
const ( SEVERITY = "severity" ERRORCODE = "error_code" )
Error Log attribute name constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorDetails ¶
ErrorDetails used to keep error details for error logs
type Log ¶
Log represents the extended type of logrus.logger
func InitPackageLogger ¶
InitPackageLogger initialises the package loggers for given package name. If the package log level is defined in the log_config.toml file, it override the root log level.
Click to show internal directories.
Click to hide internal directories.