Documentation
¶
Overview ¶
Package log allowing to load logger configuration
Index ¶
- Constants
- func Check(e error)
- func DebugCopyIntermediateFile(targetDir string, basename string, suffix string, tempYamlFile string) (err error)
- func DebugSaveIntermediateFile(targetDir string, basename string, suffix string, content string) (err error)
- func FancyHandleError(err error) bool
- func InitLogger(level int)
Constants ¶
View Source
const ( LogFieldFunc string = "func" LogFieldFilePath string = "file" LogFieldFilePathExpanded string = "filePathExpanded" LogFieldDirPath string = "dirPath" LogFieldDirPathExpanded string = "dirPathExpanded" LogFieldErr string = "err" LogFieldLineNumber string = "lineNumber" LogFieldLineContent string = "line" LogFieldTemplateName string = "templateName" LogFieldTemplateData string = "templateData" LogFieldAvailableTemplateFiles string = "availableTemplateFiles" LogFieldVariableName string = "variableName" LogFieldVariableValue string = "variableValue" )
Variables ¶
This section is empty.
Functions ¶
func DebugCopyIntermediateFile ¶ added in v1.0.0
func DebugSaveIntermediateFile ¶ added in v1.0.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.