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::LoggingLevel 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_level"
static constexpr const char * Description = "The log level which will be recorded in the log"
static constexpr const char * InputType = "VARCHAR"

Member Function Documentation

◆ SetGlobal()

void duckdb::LoggingLevel::SetGlobal ( DatabaseInstance * db,
DBConfig & config,
const Value & parameter )
static
302241 {
302242 auto &db = GetDB<LoggingLevel>(db_p);
302243 db.GetLogManager().SetLogLevel(EnumUtil::FromString<LogLevel>(parameter.GetValue<string>()));
302244}
db

◆ ResetGlobal()

void duckdb::LoggingLevel::ResetGlobal ( DatabaseInstance * db,
DBConfig & config )
static
302246 {
302247 auto &db = GetDB<LoggingLevel>(db_p);
302248 db.GetLogManager().SetLogLevel(LogConfig::DEFAULT_LOG_LEVEL);
302249}

◆ GetSetting()

Value duckdb::LoggingLevel::GetSetting ( const ClientContext & context)
static
302238 {
302239 return EnumUtil::ToString(context.db->GetLogManager().GetConfig().level);
302240}

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