|
|
using | RETURN_TYPE = string |
|
|
static constexpr const char * | Name = "enabled_log_types" |
|
static constexpr const char * | Description = "Sets the list of enabled loggers" |
|
static constexpr const char * | InputType = "VARCHAR" |
◆ SetGlobal()
302277 {
302278 auto &
db = GetDB<EnabledLogTypes>(db_p);
302279
302281 unordered_set<string> set;
302282 for (const auto &value : values) {
302283 set.insert(value);
302284 }
302285 db.GetLogManager().SetEnabledLogTypes(set);
302286}
static DUCKDB_API vector< string > Split(const string &str, char delimiter)
Split the input string based on newline char.
Definition duckdb.cpp:109734
◆ ResetGlobal()
302288 {
302289 auto &
db = GetDB<EnabledLogTypes>(db_p);
302290 unordered_set<string> set;
302291 db.GetLogManager().SetEnabledLogTypes(set);
302292}
◆ GetSetting()
302270 {
302271 vector<string> loggers;
302272 for (const auto &item : context.db->GetLogManager().GetConfig().enabled_log_types) {
302273 loggers.push_back(item);
302274 }
302276}
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: