// Init initializes the debug logger.
Init initializes the debug logger.
// Init initializes the debug logger .
func (l *DebugLog) Init() {
	if value, ok := os.LookupEnv("DEBUG"); ok {
		if value != "" && strings.ToUpper(value) == "TRUE" {
			l.enabled = true
			l.Println("Debug logging enabled.")
		}
	}
}
func ( l * DebugLog ) Init ( ) { if value , ok := os . LookupEnv ( " " ) ; ok { if value != " " && strings . ToUpper ( value ) == " " { l . enabled = true l . Println ( " " ) } } }
Init initializes the debug logger.
Init initializes the debug logger .