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

Function bootstrapLogger

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

Source from the content-addressed store, hash-verified

163 * Install console forwarding as early as possible so startup logs are persisted too.
164 */
165export function bootstrapLogger(): void {
166 if (!isTauri) return;
167 try {
168 installWebviewConsoleForward();
169 } catch (e) {
170 console.warn('[Logger] Failed to install console forwarding:', e);
171 }
172}
173
174// Logger initialization state
175let initialized = false;

Callers 2

main.tsxFile · 0.90
initLoggerFunction · 0.85

Calls 2

warnMethod · 0.80

Tested by

no test coverage detected