[geary] Log total and reserved sessions in ClientSessionManager
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary] Log total and reserved sessions in ClientSessionManager
- Date: Fri, 13 Mar 2015 21:03:25 +0000 (UTC)
commit aa97d2caab7905bf43743fb39fef81eaa6c8ef5f
Author: Jim Nelson <jim yorba org>
Date: Fri Mar 13 14:03:01 2015 -0700
Log total and reserved sessions in ClientSessionManager
.../transport/imap-client-session-manager.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/engine/imap/transport/imap-client-session-manager.vala
b/src/engine/imap/transport/imap-client-session-manager.vala
index 8d0dbee..39f87f5 100644
--- a/src/engine/imap/transport/imap-client-session-manager.vala
+++ b/src/engine/imap/transport/imap-client-session-manager.vala
@@ -563,7 +563,8 @@ public class Geary.Imap.ClientSessionManager : BaseObject {
* Use only for debugging and logging.
*/
public string to_string() {
- return endpoint.to_string();
+ return "ClientSessionManager/%s %d sessions, %d reserved".printf(endpoint.to_string(),
+ sessions.size, reserved_sessions.size);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]