trace.h
1 #pragma once 2 3 #include <common/Telemetry/TraceBase.h> 4 5 class Trace : public telemetry::TraceBase 6 { 7 public: 8 // Log number of key remaps when the user uses Edit Keyboard and saves settings 9 static void KeyRemapCount(const DWORD keyToKeyCount, const DWORD keyToShortcutCount, const DWORD keyToTextCount) noexcept; 10 11 // Log number of os level shortcut remaps when the user uses Edit Shortcuts and saves settings 12 static void OSLevelShortcutRemapCount(const DWORD shortcutToShortcutCount, const DWORD shortcutToKeyCount) noexcept; 13 14 // Log number of app specific shortcut remaps when the user uses Edit Shortcuts and saves settings 15 static void AppSpecificShortcutRemapCount(const DWORD shortcutToShortcutCount, const DWORD shortcutToKeyCount) noexcept; 16 17 // Log if an error occurs in KBM 18 static void Error(const DWORD errorCode, std::wstring errorMessage, std::wstring methodName) noexcept; 19 };