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

Method logConnection

src/async/smtp/MCSMTPAsyncSession.cpp:300–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298}
299
300void SMTPAsyncSession::logConnection(ConnectionLogType logType, Data * buffer)
301{
302 pthread_mutex_lock(&mConnectionLoggerLock);
303 if (mConnectionLogger != NULL) {
304 mConnectionLogger->log(this, logType, buffer);
305 }
306 pthread_mutex_unlock(&mConnectionLoggerLock);
307}
308
309#if __APPLE__
310void SMTPAsyncSession::setDispatchQueue(dispatch_queue_t dispatchQueue)

Callers 1

logMethod · 0.45

Calls 1

logMethod · 0.65

Tested by

no test coverage detected