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

Static Public Member Functions

static void RegisterFunction (BuiltinFunctions &set)

Member Function Documentation

◆ RegisterFunction()

void duckdb::EnableLoggingFun::RegisterFunction ( BuiltinFunctions & set)
static
249403 {
249404 auto enable_fun = TableFunction("enable_logging", {}, EnableLogging, BindEnableLogging, nullptr, nullptr);
249405
249406 // Base config
249407 enable_fun.named_parameters.emplace("level", LogicalType::VARCHAR);
249408 enable_fun.named_parameters.emplace("storage", LogicalType::VARCHAR);
249409 enable_fun.named_parameters.emplace("storage_config", LogicalType::ANY);
249410
249411 // Config that is forwarded to the storage_config struct as syntactic sugar
249412 enable_fun.named_parameters.emplace("storage_path", LogicalType::VARCHAR);
249413 enable_fun.named_parameters.emplace("storage_normalize", LogicalType::BOOLEAN);
249414 enable_fun.named_parameters.emplace("storage_buffer_size", LogicalType::UBIGINT);
249415
249416 enable_fun.varargs = LogicalType::ANY;
249417 set.AddFunction(enable_fun);
249418
249419 auto disable_fun = TableFunction("disable_logging", {}, DisableLogging, BindDisableLogging, nullptr, nullptr);
249420 set.AddFunction(disable_fun);
249421
249422 auto truncate_fun = TableFunction("truncate_duckdb_logs", {}, TruncateLogs, BindTruncateLogs, nullptr, nullptr);
249423 set.AddFunction(truncate_fun);
249424}
static void DisableLogging(ClientContext &context, TableFunctionInput &data, DataChunk &output)
Reset the logmanager to the defaults.
Definition duckdb.cpp:249378
static void TruncateLogs(ClientContext &context, TableFunctionInput &data, DataChunk &output)
Truncate the current log storage.
Definition duckdb.cpp:249383

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