Created logger with log levels

This commit is contained in:
Diego Waxemberg committed 2015-02-10 21:26:55 -05:00
1 parent 0c36754ebe
commit e3dd4e7238
26 files changed
+182 -113

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@
- (void) initiatePair {
NSString* PIN = [self generatePIN];
NSData* salt = [self saltPIN:PIN];
NSLog(@"PIN: %@, saltedPIN: %@", PIN, salt);
Log(LOG_I, @"PIN: %@, saltedPIN: %@", PIN, salt);
[_callback showPIN:PIN];
HttpResponse* pairResp = [[HttpResponse alloc] init];