src/backend/logging/loggers/wbl_backend_logger.cpp
/**
 * @brief log LogRecord
 * @param log record
 */
@brief log LogRecord
@param log record
@brief log LogRecord @param log record
void WriteBehindBackendLogger::Log(LogRecord *record) {
  record->Serialize(output_buffer);
  {
    std::lock_guard<std::mutex> lock(local_queue_mutex);
    local_queue.push_back(std::unique_ptr<LogRecord>(record));
  }
}
void WriteBehindBackendLogger :: Log ( LogRecord * record ) { record -> Serialize ( output_buffer ) ; { std :: lock_guard < std :: mutex > lock ( local_queue_mutex ) ; local_queue . push_back ( std :: unique_ptr < LogRecord > ( record ) ) ; } }
@brief log LogRecord
 @param log record
@brief log LogRecord @param log record
// Enqueue the serialized log record into the queue