src/backend/logging/log_manager.cpp
/**
 * @brief Standby logging based on logging type
 *  and store it into the vector
 * @param logging type can be stdout(debug), aries, peloton
 */
@brief Standby logging based on logging type
and store it into the vector
@param logging type can be stdout(debug), aries, peloton
@brief Standby logging based on logging type and store it into the vector @param logging type can be stdout ( debug ) aries peloton
void LogManager::StartStandbyMode() {
  if (frontend_logger == nullptr) {
    frontend_logger.reset(FrontendLogger::GetFrontendLogger(peloton_logging_mode));
  }
  if (frontend_logger == nullptr) {
    LOG_INFO("We have disabled logging");
    return;
  }
  SetLoggingStatus(LOGGING_STATUS_TYPE_STANDBY);
  frontend_logger->MainLoop();
}
void LogManager :: StartStandbyMode ( ) { if ( frontend_logger == nullptr ) { frontend_logger . reset ( FrontendLogger :: GetFrontendLogger ( peloton_logging_mode ) ) ; } if ( frontend_logger == nullptr ) { LOG_INFO ( " " ) ; return ; } SetLoggingStatus ( LOGGING_STATUS_TYPE_STANDBY ) ; frontend_logger -> MainLoop ( ) ; }
@brief Standby logging based on logging type
  and store it into the vector
 @param logging type can be stdout(debug), aries, peloton
@brief Standby logging based on logging type and store it into the vector @param logging type can be stdout ( debug ) aries peloton
// If frontend logger doesn't exist // If frontend logger still doesn't exist, then we have disabled logging // Toggle status in log manager map // Launch the frontend logger's main loop