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

Method setConnectionLogger

src/async/nntp/MCNNTPAsyncSession.cpp:284–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284void NNTPAsyncSession::setConnectionLogger(ConnectionLogger * logger)
285{
286 pthread_mutex_lock(&mConnectionLoggerLock);
287 mConnectionLogger = logger;
288 pthread_mutex_unlock(&mConnectionLoggerLock);
289 if (logger != NULL) {
290 mSession->setConnectionLogger(mInternalLogger);
291 }
292 else {
293 mSession->setConnectionLogger(NULL);
294 }
295}
296
297ConnectionLogger * NNTPAsyncSession::connectionLogger()
298{

Callers 1

NNTPAsyncSessionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected