Documentation
¶
Index ¶
- func Close()
- func Debug(message string, data map[string]interface{})
- func Error(message string, err error, data map[string]interface{})
- func FlowError(operation string, err error, data map[string]interface{})
- func FlowStart(operation string, data map[string]interface{})
- func FlowStep(step string, data map[string]interface{})
- func FlowSuccess(operation string, data map[string]interface{})
- func HashToken(token string) string
- func Info(message string, data map[string]interface{})
- func Initialize()
- func SanitizeConfig(data map[string]interface{}) map[string]interface{}
- func SanitizeURL(url string) string
- type DiagnosticLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlowSuccess ¶
FlowSuccess logs successful completion of a flow
func Initialize ¶
func Initialize()
Initialize sets up the global diagnostic logger based on environment variable
func SanitizeConfig ¶
SanitizeConfig removes sensitive fields from config data
func SanitizeURL ¶
SanitizeURL removes sensitive parts from URLs for logging
Types ¶
type DiagnosticLogger ¶
type DiagnosticLogger struct {
// contains filtered or unexported fields
}
DiagnosticLogger provides conditional logging for debugging git credential flows
Click to show internal directories.
Click to hide internal directories.