decord/source/__polyfill/13xxx/module_13013.js
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

20 lines
523 B
JavaScript

// Module ID: 13013
// Function ID: 13014
// Dependencies: []
// Exports: severityLevelFromString
// Module 13013
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"];