Skip to content

Instantly share code, notes, and snippets.

@tternes
Last active March 21, 2017 13:03
Show Gist options
  • Save tternes/b8bd1e7090ee856d70b7ea257399f921 to your computer and use it in GitHub Desktop.
Save tternes/b8bd1e7090ee856d70b7ea257399f921 to your computer and use it in GitHub Desktop.
@implementation AppDelegate
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
// ...
EVIRegisterLoggingCallback(^(EVILogLevel level, NSString *message) {
NSLog(@"EVIStreamer (%@): %@", EVILogLevelString(level), message);
});
// ...
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment