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::EnableLogging Struct Reference

Public Types

using RETURN_TYPE = bool

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 = "enable_logging"
static constexpr const char * Description = "Enables the logger"
static constexpr const char * InputType = "BOOLEAN"

Member Function Documentation

◆ SetGlobal()

void duckdb::EnableLogging::SetGlobal ( DatabaseInstance * db,
DBConfig & config,
const Value & parameter )
static
302100 {
302101 auto &db = GetDB<EnableLogging>(db_p);
302102 db.GetLogManager().SetEnableLogging(parameter.GetValue<bool>());
302103}
db

◆ ResetGlobal()

void duckdb::EnableLogging::ResetGlobal ( DatabaseInstance * db,
DBConfig & config )
static
302105 {
302106 auto &db = GetDB<EnableLogging>(db_p);
302107 db.GetLogManager().SetEnableLogging(false);
302108}

◆ GetSetting()

Value duckdb::EnableLogging::GetSetting ( const ClientContext & context)
static
302097 {
302098 return context.db->GetLogManager().GetConfig().enabled;
302099}

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