@@ -108,10 +108,22 @@ [conn handleConnection]; } @catch (id e) { of_log(@"%@", e); } } + +- (void)connection: (XMPPConnection*)conn + didReceiveElement: (OFXMLElement*)element +{ + of_log(@"In: %@", element); +} + +- (void)connection: (XMPPConnection*)conn + didSendElement: (OFXMLElement*)element +{ + of_log(@"Out: %@", element); +} - (void)connectionWasAuthenticated: (XMPPConnection*)conn { of_log(@"Auth successful"); }