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

Method setConnectionLogger

src/async/smtp/MCSMTPAsyncSession.cpp:276–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276void SMTPAsyncSession::setConnectionLogger(ConnectionLogger * logger)
277{
278 pthread_mutex_lock(&mConnectionLoggerLock);
279 mConnectionLogger = logger;
280 pthread_mutex_unlock(&mConnectionLoggerLock);
281 if (logger != NULL) {
282 mSession->setConnectionLogger(mInternalLogger);
283 }
284 else {
285 mSession->setConnectionLogger(NULL);
286 }
287}
288
289ConnectionLogger * SMTPAsyncSession::connectionLogger()
290{

Callers 1

SMTPAsyncSessionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected