refactor(LogQueryToFilter): update comment formatting for severity normalization

This commit is contained in:
Nawaz Dhandala
2026-03-12 11:28:04 +00:00
parent 5ff9a8b75b
commit 4a566c7369

View File

@@ -34,8 +34,10 @@ const TOP_LEVEL_FIELDS: Set<string> = new Set([
"body",
]);
// Severity values stored in the database use title case (e.g. "Error", "Debug").
// Normalise user input so that "error" matches "Error", etc.
/*
* Severity values stored in the database use title case (e.g. "Error", "Debug").
* Normalise user input so that "error" matches "Error", etc.
*/
const SEVERITY_CANONICAL: Record<string, string> = {
fatal: "Fatal",
error: "Error",