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

Method setConnectionLogger

src/async/pop/MCPOPAsyncSession.cpp:239–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239void POPAsyncSession::setConnectionLogger(ConnectionLogger * logger)
240{
241 pthread_mutex_lock(&mConnectionLoggerLock);
242 mConnectionLogger = logger;
243 pthread_mutex_unlock(&mConnectionLoggerLock);
244 if (logger != NULL) {
245 mSession->setConnectionLogger(mInternalLogger);
246 }
247 else {
248 mSession->setConnectionLogger(NULL);
249 }
250}
251
252ConnectionLogger * POPAsyncSession::connectionLogger()
253{

Callers 1

POPAsyncSessionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected