| 298 | } |
| 299 | |
| 300 | void 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__ |
| 310 | void SMTPAsyncSession::setDispatchQueue(dispatch_queue_t dispatchQueue) |