Files
hive/frontend/node_modules/storybook/dist/client-logger/index.js
anthonyrawlins e89f2f4b7b Add comprehensive development roadmap via GitHub Issues
Created 10 detailed GitHub issues covering:
- Project activation and management UI (#1-2)
- Worker node coordination and visualization (#3-4)
- Automated GitHub repository scanning (#5)
- Intelligent model-to-issue matching (#6)
- Multi-model task execution system (#7)
- N8N workflow integration (#8)
- Hive-Bzzz P2P bridge (#9)
- Peer assistance protocol (#10)

Each issue includes detailed specifications, acceptance criteria,
technical implementation notes, and dependency mapping.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 19:41:01 +10:00

65 lines
1.7 KiB
JavaScript

var u = Object.defineProperty;
var a = (r, e) => u(r, "name", { value: e, configurable: !0 });
// src/client-logger/index.ts
import { global as p } from "@storybook/global";
var { LOGLEVEL: L } = p, t = {
trace: 1,
debug: 2,
info: 3,
warn: 4,
error: 5,
silent: 10
}, v = L, c = t[v] || t.info, i = {
trace: /* @__PURE__ */ a((r, ...e) => {
c <= t.trace && console.trace(r, ...e);
}, "trace"),
debug: /* @__PURE__ */ a((r, ...e) => {
c <= t.debug && console.debug(r, ...e);
}, "debug"),
info: /* @__PURE__ */ a((r, ...e) => {
c <= t.info && console.info(r, ...e);
}, "info"),
warn: /* @__PURE__ */ a((r, ...e) => {
c <= t.warn && console.warn(r, ...e);
}, "warn"),
error: /* @__PURE__ */ a((r, ...e) => {
c <= t.error && console.error(r, ...e);
}, "error"),
log: /* @__PURE__ */ a((r, ...e) => {
c < t.silent && console.log(r, ...e);
}, "log")
}, s = /* @__PURE__ */ new Set(), o = /* @__PURE__ */ a((r) => (e, ...g) => {
if (!s.has(e))
return s.add(e), i[r](e, ...g);
}, "once");
o.clear = () => s.clear();
o.trace = o("trace");
o.debug = o("debug");
o.info = o("info");
o.warn = o("warn");
o.error = o("error");
o.log = o("log");
var h = o("warn"), n = /* @__PURE__ */ a((r) => (...e) => {
let g = [];
if (e.length) {
let y = /<span\s+style=(['"])([^'"]*)\1\s*>/gi, d = /<\/span>/gi, f;
for (g.push(e[0].replace(y, "%c").replace(d, "%c")); f = y.exec(e[0]); )
g.push(f[2]), g.push("");
for (let l = 1; l < e.length; l++)
g.push(e[l]);
}
i[r].apply(i, g);
}, "pretty");
n.trace = n("trace");
n.debug = n("debug");
n.info = n("info");
n.warn = n("warn");
n.error = n("error");
export {
h as deprecate,
i as logger,
o as once,
n as pretty
};