diff options
author | Damian Minkov <damencho@jitsi.org> | 2014-02-18 10:05:31 +0200 |
---|---|---|
committer | Damian Minkov <damencho@jitsi.org> | 2014-02-18 10:21:52 +0200 |
commit | 052f8fba057c8bddb81d06c98c6ae94906092f9e (patch) | |
tree | 555ca6c9f7a949215bfb93b5533ec899ff3a61ab /src/net/java/sip/communicator/plugin/msofficecomm/Messenger.java | |
parent | df93dec8f7820f7d9709fd86bba501b81d936907 (diff) | |
download | jitsi-052f8fba057c8bddb81d06c98c6ae94906092f9e.zip jitsi-052f8fba057c8bddb81d06c98c6ae94906092f9e.tar.gz jitsi-052f8fba057c8bddb81d06c98c6ae94906092f9e.tar.bz2 |
Adds debug logging for msofficecomm plugin.
Diffstat (limited to 'src/net/java/sip/communicator/plugin/msofficecomm/Messenger.java')
-rw-r--r-- | src/net/java/sip/communicator/plugin/msofficecomm/Messenger.java | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/plugin/msofficecomm/Messenger.java b/src/net/java/sip/communicator/plugin/msofficecomm/Messenger.java index 0f69971..20220da 100644 --- a/src/net/java/sip/communicator/plugin/msofficecomm/Messenger.java +++ b/src/net/java/sip/communicator/plugin/msofficecomm/Messenger.java @@ -399,7 +399,7 @@ public class Messenger * @param messengerContact a <tt>MessengerContact</tt> instance which * specifies the contact for which the phone number information is to be * retrieved - * @param a member of the <tt>MPHONE_TYPE</tt> enumerated type which + * @param type member of the <tt>MPHONE_TYPE</tt> enumerated type which * specifies the type of the phone number information to be retrieved * @return the phone number information of the contact associated with the * specified <tt>messengerContact</tt> @@ -508,6 +508,9 @@ public class Messenger String signinName = messengerContact.signinName; ProtocolPresenceStatus presenceStatus; + if(logger.isTraceEnabled()) + logger.trace("Got getStatus for " + signinName); + if (signinName == null) presenceStatus = null; else @@ -658,6 +661,9 @@ public class Messenger serviceReference)); } } + + if (logger.isInfoEnabled()) + logger.info("Messenger [REGISTERED] as service listener."); } /** @@ -710,6 +716,11 @@ public class Messenger String[] participants, String conversationData) { + if(logger.isTraceEnabled()) + logger.trace("Got startConversation participants:" + + participants == null? "" : Arrays.asList(participants) + + ", conversationData=" + conversationData); + /* * Firstly, resolve the participants into Contacts which may include * looking up their vCards. |