Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cpp-include/eventlogger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
namespace DDE_EventLogger {

// Check if event logging should be enabled based on system edition
// Only UosProfessional is enabled by default
// Enable for all editions except UosCommunity
inline bool shouldEnableEventLog()
{
// Production mode: only enable for UosProfessional edition
// Production mode: enable for all editions except UosCommunity
// Note: DSysInfo is in Dtk::Core namespace
return Dtk::Core::DSysInfo::uosEditionType() == Dtk::Core::DSysInfo::UosProfessional;
return Dtk::Core::DSysInfo::uosEditionType() != Dtk::Core::DSysInfo::UosCommunity;
}

typedef bool (*Initialize)(const std::string &package_id, bool enable_sig);
Expand Down
Loading