MCPcopy Create free account
hub / github.com/GCWing/BitFun / initLogger

Function initLogger

src/web-ui/src/shared/utils/logger.ts:213–223  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

211 * Initialize logger state and ensure console forwarding is installed.
212 */
213export async function initLogger(): Promise<void> {
214 if (initialized) return;
215 if (initPromise) return initPromise;
216
217 initPromise = (async () => {
218 bootstrapLogger();
219 initialized = true;
220 })();
221
222 return initPromise;
223}
224
225/**
226 * Format data for logging

Callers 1

initializeBeforeRenderFunction · 0.90

Calls 1

bootstrapLoggerFunction · 0.85

Tested by

no test coverage detected