|
|
using | RETURN_TYPE = string |
|
|
static constexpr const char * | Name = "disabled_log_types" |
|
static constexpr const char * | Description = "Sets the list of disabled loggers" |
|
static constexpr const char * | InputType = "VARCHAR" |
◆ SetGlobal()
302304 {
302305 auto &
db = GetDB<DisabledLogTypes>(db_p);
302307 unordered_set<string> set;
302308 for (const auto &value : values) {
302309 set.insert(value);
302310 }
302311 db.GetLogManager().SetDisabledLogTypes(set);
302312}
static DUCKDB_API vector< string > Split(const string &str, char delimiter)
Split the input string based on newline char.
Definition duckdb.cpp:109734
◆ ResetGlobal()
302314 {
302315 auto &
db = GetDB<DisabledLogTypes>(db_p);
302316 unordered_set<string> set;
302317 db.GetLogManager().SetDisabledLogTypes(set);
302318}
◆ GetSetting()
302297 {
302298 vector<string> loggers;
302299 for (const auto &item : context.db->GetLogManager().GetConfig().disabled_log_types) {
302300 loggers.push_back(item);
302301 }
302303}
static DUCKDB_API string Join(const vector< string > &input, const string &separator)
Join multiple strings into one string. Components are concatenated by the given separator.
Definition duckdb.cpp:109497
The documentation for this struct was generated from the following file: