decord/source/__polyfill/13xxx/module_13019.js
github-actions f0f877e8ce chore: update source for alpha 347.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
2026-09-15 14:23:42 +00:00

20 lines
523 B
JavaScript

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