Permalink
Browse files

AppleLogger: also NSLog the output

  • Loading branch information...
1 parent 85a970e commit d08c7d5a53f715e57cbc97205a4f8b37dedb1d44 @bradallred bradallred committed Jun 9, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 apple/AppleLogger.mm
View
@@ -63,8 +63,8 @@
NSRunAlertPanel(alertTitle, alertMessage, @"OK", nil, nil);
#endif
}
-
- StdioLogger::LogInternal(level, owner, message, color);
+ NSLog(@"%s", message); // send to OS X logging system
+ StdioLogger::LogInternal(level, owner, message, color); // send to stdout
}
Logger* createAppleLogger()

0 comments on commit d08c7d5

Please sign in to comment.