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