We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 248a3ac commit e082419Copy full SHA for e082419
1 file changed
cpp-include/eventlogger.hpp
@@ -18,12 +18,12 @@
18
namespace DDE_EventLogger {
19
20
// Check if event logging should be enabled based on system edition
21
-// Only UosProfessional is enabled by default
+// Enable for all editions except UosCommunity
22
inline bool shouldEnableEventLog()
23
{
24
- // Production mode: only enable for UosProfessional edition
+ // Production mode: enable for all editions except UosCommunity
25
// Note: DSysInfo is in Dtk::Core namespace
26
- return Dtk::Core::DSysInfo::uosEditionType() == Dtk::Core::DSysInfo::UosProfessional;
+ return Dtk::Core::DSysInfo::uosEditionType() != Dtk::Core::DSysInfo::UosCommunity;
27
}
28
29
typedef bool (*Initialize)(const std::string &package_id, bool enable_sig);
0 commit comments