decord/source/950_fmt.js
2026-07-31 08:44:05 +00:00

58 lines
2.1 KiB
JavaScript

// Module ID: 950
// Function ID: 951
// Name: fmt
// Dependencies: [880, 901]
// Exports: debug, error, fatal, info, trace, warn
// Module 950 (fmt)
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
export const fmt = require("parameterize").fmt;
export const debug = function debug(message, attributes, attributes) {
let obj = attributes;
if (attributes === undefined) {
obj = {};
}
obj = { level: "debug", message, attributes, severityNumber: "accessibilityRole" };
require(880) /* _INTERNAL_captureSerializedLog */._INTERNAL_captureLog(obj, obj.scope);
};
export const error = function error(message, attributes, attributes) {
let obj = attributes;
if (attributes === undefined) {
obj = {};
}
obj = { level: "error", message, attributes, severityNumber: "HermesInternal" };
require(880) /* _INTERNAL_captureSerializedLog */._INTERNAL_captureLog(obj, obj.scope);
};
export const fatal = function fatal(message, attributes, attributes) {
let obj = attributes;
if (attributes === undefined) {
obj = {};
}
obj = { level: "fatal", message, attributes, severityNumber: "e" };
require(880) /* _INTERNAL_captureSerializedLog */._INTERNAL_captureLog(obj, obj.scope);
};
export const info = function info(message, attributes, attributes) {
let obj = attributes;
if (attributes === undefined) {
obj = {};
}
obj = { level: "info", message, attributes, severityNumber: "accessibilityRole" };
require(880) /* _INTERNAL_captureSerializedLog */._INTERNAL_captureLog(obj, obj.scope);
};
export const trace = function trace(message, attributes, attributes) {
let obj = attributes;
if (attributes === undefined) {
obj = {};
}
obj = { level: "trace", message, attributes, severityNumber: "accessibilityRole" };
require(880) /* _INTERNAL_captureSerializedLog */._INTERNAL_captureLog(obj, obj.scope);
};
export const warn = function warn(message, attributes, attributes) {
let obj = attributes;
if (attributes === undefined) {
obj = {};
}
obj = { level: "warn", message, attributes, severityNumber: "channelId" };
require(880) /* _INTERNAL_captureSerializedLog */._INTERNAL_captureLog(obj, obj.scope);
};