import i from "../../../../../../../../_virtual/dayjs.min.js";
var s = Object.defineProperty, l = (o, e) => s(o, "name", { value: e, configurable: !0 }), f = (o, e) => {
  for (var c in e)
    s(o, c, { get: e[c], enumerable: !0 });
}, a = {
  trace: 0,
  debug: 1,
  info: 2,
  warn: 3,
  error: 4,
  fatal: 5
}, r = {
  trace: /* @__PURE__ */ l((...o) => {
  }, "trace"),
  debug: /* @__PURE__ */ l((...o) => {
  }, "debug"),
  info: /* @__PURE__ */ l((...o) => {
  }, "info"),
  warn: /* @__PURE__ */ l((...o) => {
  }, "warn"),
  error: /* @__PURE__ */ l((...o) => {
  }, "error"),
  fatal: /* @__PURE__ */ l((...o) => {
  }, "fatal")
}, g = /* @__PURE__ */ l(function(o = "fatal") {
  let e = a.fatal;
  typeof o == "string" ? o.toLowerCase() in a && (e = a[o]) : typeof o == "number" && (e = o), r.trace = () => {
  }, r.debug = () => {
  }, r.info = () => {
  }, r.warn = () => {
  }, r.error = () => {
  }, r.fatal = () => {
  }, e <= a.fatal && (r.fatal = console.error ? console.error.bind(console, n("FATAL"), "color: orange") : console.log.bind(console, "\x1B[35m", n("FATAL"))), e <= a.error && (r.error = console.error ? console.error.bind(console, n("ERROR"), "color: orange") : console.log.bind(console, "\x1B[31m", n("ERROR"))), e <= a.warn && (r.warn = console.warn ? console.warn.bind(console, n("WARN"), "color: orange") : console.log.bind(console, "\x1B[33m", n("WARN"))), e <= a.info && (r.info = console.info ? console.info.bind(console, n("INFO"), "color: lightblue") : console.log.bind(console, "\x1B[34m", n("INFO"))), e <= a.debug && (r.debug = console.debug ? console.debug.bind(console, n("DEBUG"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", n("DEBUG"))), e <= a.trace && (r.trace = console.debug ? console.debug.bind(console, n("TRACE"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", n("TRACE")));
}, "setLogLevel"), n = /* @__PURE__ */ l((o) => `%c${i().format("ss.SSS")} : ${o} : `, "format");
export {
  f as __export,
  l as __name,
  r as log,
  g as setLogLevel
};
