decord/source/__polyfill/13xxx/module_13126.js
github-actions 8d58bae3b2 chore: update source for alpha 347.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4907.js (118.4 MB)
2026-09-18 06:58:00 +00:00

20 lines
523 B
JavaScript

// Module ID: 13126
// Function ID: 13127
// Dependencies: []
// Exports: severityLevelFromString
// Module 13126
export const severityLevelFromString = function severityLevelFromString(arg0) {
let str = "warning";
if ("warn" !== arg0) {
const items = ["fatal", "error", "warning", "log", "info", "debug"];
let str2 = "log";
if (items.includes(arg0)) {
str2 = arg0;
}
str = str2;
}
return str;
};
export const validSeverityLevels = ["fatal", "error", "warning", "log", "info", "debug"];