diff --git a/CHANGELOG.md b/CHANGELOG.md index f972a5717..c0a612175 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## Unreleased +### API-Changes +- add `debug_logging` setting #3296 + ### Changes - Disable Autocrypt & Authres-checking for mailing lists, because they don't work well with mailing lists #3765 diff --git a/deltachat-ffi/deltachat.h b/deltachat-ffi/deltachat.h index 95e4cf45f..bc50adb7f 100644 --- a/deltachat-ffi/deltachat.h +++ b/deltachat-ffi/deltachat.h @@ -407,6 +407,9 @@ char* dc_get_blobdir (const dc_context_t* context); * to not mess up with non-delivery-reports or read-receipts. * 0=no limit (default). * Changes affect future messages only. + * - `debug_logging` = Let the core save all events to the database. You should expose this as an advanced + * setting to the user. When they enable it, the core automatically adds a webxdc + * message to the device chat where the user can see the log messages. * - `ui.*` = All keys prefixed by `ui.` can be used by the user-interfaces for system-specific purposes. * The prefix should be followed by the system and maybe subsystem, * e.g. `ui.desktop.foo`, `ui.desktop.linux.bar`, `ui.android.foo`, `ui.dc40.bar`, `ui.bot.simplebot.baz`. diff --git a/src/config.rs b/src/config.rs index 34493e88c..259fa9072 100644 --- a/src/config.rs +++ b/src/config.rs @@ -197,7 +197,11 @@ pub enum Config { /// /// See `crate::authres::update_authservid_candidates`. AuthservIdCandidates, + // TODO docs, deltachat.h + /// Let the core save all events to the database. You should expose this as an advanced + /// setting to the user. When they enable it, the core automatically adds a webxdc + /// message to the device chat where the user can see the log messages. #[strum(props(default = "0"))] DebugLogging, }