aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2014-01-06 19:50:49 -0800
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2014-01-06 19:50:49 -0800
commit851c3fb12a58b62f23568b7ab8adc43eceb774ec (patch)
treee5b3ed6472ed37218a1da764ae445771f8ea0ac1 /src/objc
parentbc12979236e6dcd97319aef674dfe63fb7454ad2 (diff)
Improved documentation of connectionLogger
Diffstat (limited to 'src/objc')
-rwxr-xr-xsrc/objc/imap/MCOIMAPSession.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/objc/imap/MCOIMAPSession.h b/src/objc/imap/MCOIMAPSession.h
index 66e679c7..867cfb6d 100755
--- a/src/objc/imap/MCOIMAPSession.h
+++ b/src/objc/imap/MCOIMAPSession.h
@@ -104,7 +104,8 @@
Sets logger callback. The network traffic will be sent to this block.
[session setConnectionLogger:^(void * connectionID, MCOConnectionLogType type, NSData * data) {
- ...
+ NSLog(@"%@", [[[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding] autorelease]);
+ // ...
}];
*/
@property (nonatomic, copy) MCOConnectionLogger connectionLogger;