decord/source/__polyfill/00xxx/module_848.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

24 lines
542 B
JavaScript

// Module ID: 848
// Function ID: 849
// Dependencies: []
// Exports: getBreadcrumbLogLevelFromHttpStatusCode
// Module 848
Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" });
export const getBreadcrumbLogLevelFromHttpStatusCode = function getBreadcrumbLogLevelFromHttpStatusCode(arg0) {
let tmp;
if (undefined !== arg0) {
if (arg0 < 400) {
let str2;
if (arg0 >= 500) {
str2 = "error";
}
let str = str2;
} else {
str = "warning";
}
tmp = str;
}
return tmp;
};