Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::LoggingStorage Struct Reference

Public Types

using RETURN_TYPE = string

Static Public Member Functions

static void SetGlobal (DatabaseInstance *db, DBConfig &config, const Value &parameter)
static void ResetGlobal (DatabaseInstance *db, DBConfig &config)
static Value GetSetting (const ClientContext &context)

Static Public Attributes

static constexpr const char * Name = "logging_storage"
static constexpr const char * Description = "Set the logging storage (memory/stdout/file/<custom>)"
static constexpr const char * InputType = "VARCHAR"

Member Function Documentation

◆ SetGlobal()

void duckdb::LoggingStorage::SetGlobal ( DatabaseInstance * db,
DBConfig & config,
const Value & parameter )
static
302257 {
302258 auto &db = GetDB<LoggingStorage>(db_p);
302259 db.GetLogManager().SetLogStorage(db, parameter.GetValue<string>());
302260}
db

◆ ResetGlobal()

void duckdb::LoggingStorage::ResetGlobal ( DatabaseInstance * db,
DBConfig & config )
static
302262 {
302263 auto &db = GetDB<LoggingStorage>(db_p);
302264 db.GetLogManager().SetLogStorage(db, LogConfig::DEFAULT_LOG_STORAGE);
302265}

◆ GetSetting()

Value duckdb::LoggingStorage::GetSetting ( const ClientContext & context)
static
302254 {
302255 return context.db->GetLogManager().GetConfig().storage;
302256}

The documentation for this struct was generated from the following file: