MCPcopy Create free account
hub / github.com/MailCore/mailcore2 / IMAPConnectionLogger

Class IMAPConnectionLogger

src/async/imap/MCIMAPAsyncConnection.cpp:79–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 };
78
79 class IMAPConnectionLogger : public Object, public ConnectionLogger {
80 public:
81 IMAPConnectionLogger(IMAPAsyncConnection * connection) {
82 mConnection = connection;
83 }
84
85 virtual ~IMAPConnectionLogger() {
86 }
87
88 virtual void log(void * sender, ConnectionLogType logType, Data * buffer)
89 {
90 mConnection->logConnection(logType, buffer);
91 }
92
93 private:
94 IMAPAsyncConnection * mConnection;
95 };
96
97}
98

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected