aboutsummaryrefslogtreecommitdiffstats
path: root/src/m_email/EMailModule.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2026-09-19 13:24:46 +0200
committersaturneric <[email protected]>2026-09-19 13:24:46 +0200
commit697d67f3bba40a8ddd1fec528492225492765213 (patch)
tree507ecc9e8ed61c4984c47f9029263d949c1df410 /src/m_email/EMailModule.cpp
parentstyle(formatting): apply consistent code formatting (diff)
downloadmodules-697d67f3bba40a8ddd1fec528492225492765213.tar.gz
modules-697d67f3bba40a8ddd1fec528492225492765213.zip
fix(modules): correct module lifecycle setup
- rename the email CMake target to match the module name - register key server translations during module registration - standardize lifecycle logging with `LOG_INFO` - document no-op deactivation handlers and correct shutdown messages
Diffstat (limited to 'src/m_email/EMailModule.cpp')
-rw-r--r--src/m_email/EMailModule.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/m_email/EMailModule.cpp b/src/m_email/EMailModule.cpp
index 26b0ac9..9d37f36 100644
--- a/src/m_email/EMailModule.cpp
+++ b/src/m_email/EMailModule.cpp
@@ -398,7 +398,7 @@ constexpr auto kMailSettingsPageId =
"com.bktus.gpgfrontend.module.email.accounts";
auto GFRegisterModule() -> int {
- MLogDebug("email module registering...");
+ LOG_INFO("email module registering");
// The MIME code carries no SDK symbol of its own so it can be unit-tested
// without a module host; this is what gives it a logger at runtime.
@@ -479,7 +479,7 @@ auto GFDeactivateModule() -> int {
}
auto GFUnregisterModule() -> int {
- MLogDebug("email module unregistering...");
+ LOG_INFO("email module unregistering");
return 0;
}