title: How do i display the output of NSURLSession using NSLog?
body: <p>I want the display the output of a URl using NSLog.</p>
  
  <p>ViewController.h</p>
  
  <pre><code>@interface ViewController : UIViewController{
  NSURLSession *session;
  NSString *londonWeatherUrl;
  NSURLRequest *request;
  }
  </code></pre>
  
  <p>ViewController.m</p>
  
  <pre><code>- (void)viewDidLoad {
  [super viewDidLoad];
  // Do any additional setup after loading the view, typically from a nib.
  
  londonWeatherUrl = @"http://api.openweathermap.org/data/2.5/weather?q=London,uk&amp;appid=2de143494c0b295cca9337e1e96b00e0";
  
  request = [NSURLRequest requestWithURL:
                           [NSURL URLWithString:londonWeatherUrl]];
  
  
  [[session dataTaskWithURL:[NSURL URLWithString:londonWeatherUrl]
          completionHandler:^(NSData *data,
                              NSURLResponse *response,
                              NSError *error) {}] resume];
  
  session = [NSURLSession sharedSession];
  NSLog(@"%@",);  // what goes here ?
  }
  </code></pre>
  
  <p>Can someone tell me what do i need to have inside NSLog so that the output of that URL is displayed in the log.
  Sorry, i am a beginner in objective C.</p>