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::LoggingMode 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_mode"
static constexpr const char * Description = "Determines which types of log messages are logged"
static constexpr const char * InputType = "VARCHAR"

Member Function Documentation

◆ SetGlobal()

void duckdb::LoggingMode::SetGlobal ( DatabaseInstance * db,
DBConfig & config,
const Value & parameter )
static
302225 {
302226 auto &db = GetDB<LoggingMode>(db_p);
302227 db.GetLogManager().SetLogMode(EnumUtil::FromString<LogMode>(parameter.GetValue<string>()));
302228}
db

◆ ResetGlobal()

void duckdb::LoggingMode::ResetGlobal ( DatabaseInstance * db,
DBConfig & config )
static
302230 {
302231 auto &db = GetDB<LoggingMode>(db_p);
302232 db.GetLogManager().SetLogMode(LogMode::LEVEL_ONLY);
302233}

◆ GetSetting()

Value duckdb::LoggingMode::GetSetting ( const ClientContext & context)
static
302222 {
302223 return EnumUtil::ToString(context.db->GetLogManager().GetConfig().mode);
302224}

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