Implemented fallback logic to prevent crash at application startup when no ILogger implementation is registered