decord/source/__polyfill/12xxx/module_12937.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

23 lines
478 B
JavaScript

// Module ID: 12937
// Function ID: 12938
// Dependencies: []
// Exports: getBreadcrumbLogLevelFromHttpStatusCode
// Module 12937
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;
};