decord/source/__polyfill/13xxx/module_13035.js
github-actions 03cf168fbc chore: update source for alpha 347.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4825.js (118.4 MB)
2026-09-17 08:17:09 +00:00

20 lines
523 B
JavaScript

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