Changed DLog to NSLog so that it works out-of-the-box in an iphone project.