src/backend/logging/log_manager.cpp
/**
 * @brief Return the backend logger based on logging type
    and store it into the vector
 * @param logging type can be stdout(debug), aries, peloton
 */
@brief Return the backend logger based on logging type
and store it into the vector
@param logging type can be stdout(debug), aries, peloton
@brief Return the backend logger based on logging type and store it into the vector @param logging type can be stdout ( debug ) aries peloton
BackendLogger *LogManager::GetBackendLogger() {
  assert(frontend_logger != nullptr);
  if (backend_logger == nullptr) {
    backend_logger = BackendLogger::GetBackendLogger(peloton_logging_mode);
    frontend_logger->AddBackendLogger(backend_logger);
  }
  return backend_logger;
}
BackendLogger * LogManager :: GetBackendLogger ( ) { assert ( frontend_logger != nullptr ) ; if ( backend_logger == nullptr ) { backend_logger = BackendLogger :: GetBackendLogger ( peloton_logging_mode ) ; frontend_logger -> AddBackendLogger ( backend_logger ) ; } return backend_logger ; }
@brief Return the backend logger based on logging type
and store it into the vector
 @param logging type can be stdout(debug), aries, peloton
@brief Return the backend logger based on logging type and store it into the vector @param logging type can be stdout ( debug ) aries peloton
// Check whether the backend logger exists or not // if not, create a backend logger and store it in frontend logger