public void Error() { string message = "Error message"; LoggerLevel level = LoggerLevel.Error; Exception exception = null; logger.Error(message); ValidateCall(level, message, exception); }