title: How to create a method in Objective-C that takes a NSString stringWithFormat as a parameter?
body: <p>I am not sure if the headline is understandable. What I want is to make a convinient method that works like the NSLog method and combines the lines below?</p>
  
  <p>This is what I have at the moment :</p>
  
  <pre><code>NSString *out = [NSString stringWithFormat:@"something %d,%d",1,2];
  [self showLog:out];
  </code></pre>
  
  <p>How would a method like this look like in the definition ?</p>
  
  <pre><code>- (void) showLog:(NSString *) data;
  </code></pre>
  
  <p>Thanks </p>