aboutsummaryrefslogtreecommitdiff
path: root/src/js/out/modules/node/trace_events.js
blob: 71fcfb890170018b059cf5a3b868d4e1f656a8b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
};