mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 14:13:30 -07:00
Fix mode change logging
This commit is contained in:
parent
9d8a87bc4a
commit
f264108e8b
1 changed files with 1 additions and 2 deletions
|
@ -263,7 +263,6 @@ namespace CalculatorApp
|
|||
fields.AddString(L"CalculatorMode", NavCategory::GetFriendlyName(mode)->Data());
|
||||
fields.AddUInt32(L"WindowId", windowId);
|
||||
LogLevel3Event(EVENT_NAME_CALCULATOR_VIEWED_IN_SESSION, fields);
|
||||
LogLevel2Event(EVENT_NAME_MODE_CHANGED, fields);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -543,7 +542,7 @@ namespace CalculatorApp
|
|||
LoggingFields fields{};
|
||||
// cast mode to an int for telemetry
|
||||
fields.AddInt32(L"CalcMode", NavCategory::Serialize(mode));
|
||||
LogLevel2Event(EVENT_NAME_MODE_CHANGE_BEGIN, fields);
|
||||
LogLevel2Event(EVENT_NAME_MODE_CHANGED, fields);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue