Documentation ¶
Index ¶
Constants ¶
View Source
const ( // LogInfo checks if the log level is INFO LogInfo string = "INFO" // LogError checks if the log level is ERROR LogError string = "ERROR" // LogWarning checks if the log level is WARNING LogWarning string = "WARNING" )
Variables ¶
This section is empty.
Functions ¶
func SetLogProps ¶
SetLogProps creates a map of the log properties
Types ¶
type Logger ¶
type Logger interface { logrus.FieldLogger LoggerWith(logrus.Fields) Logger }
Logger defines the interface for logging used by gophoton-core internally
type LoggerIdentity ¶
LoggerIdentity stores context for logger
Click to show internal directories.
Click to hide internal directories.