aboutsummaryrefslogtreecommitdiff
path: root/src/js/out/modules/node/trace_events.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/out/modules/node/trace_events.js')
-rw-r--r--src/js/out/modules/node/trace_events.js25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/js/out/modules/node/trace_events.js b/src/js/out/modules/node/trace_events.js
new file mode 100644
index 000000000..71fcfb890
--- /dev/null
+++ b/src/js/out/modules/node/trace_events.js
@@ -0,0 +1,25 @@
+var ERR_INVALID_ARG_TYPE = function(name, type, value) {
+ const err = new TypeError(`The "${name}" argument must be of type ${type}. Received ${value}`);
+ return err.code = "ERR_INVALID_ARG_TYPE", err;
+}, createTracing = function(opts) {
+ if (typeof opts !== "object" || opts == null)
+ throw new ERR_INVALID_ARG_TYPE("options", "Object", opts);
+ return new Tracing(opts);
+}, getEnabledCategories = function() {
+ return "";
+};
+
+class Tracing {
+ enabled = !1;
+ categories = "";
+}
+var defaultObject = {
+ createTracing,
+ getEnabledCategories,
+ [Symbol.for("CommonJS")]: 0
+};
+export {
+ getEnabledCategories,
+ defaultObject as default,
+ createTracing
+};