private void LogException(Level level, string message, object[] args, Exception exception) { LogRouter.RouteException(level, this.Name, args == null ? message : string.Format(CultureInfo.InvariantCulture, message, args), exception); }
private void Log(Level level, string message, object[] args) { LogRouter.RouteMessage(level, this.Name, args == null ? message : string.Format(CultureInfo.InvariantCulture, message, args)); }