"use strict";
/* Socket Lib - Built with rolldown */
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const require_logger_node = require('./node.js');

//#region src/logger/default.ts
/**
* @file Shared-default `Logger` singleton. One process-wide instance,
*   constructed lazily on first call so importing the module during early
*   bootstrap doesn't try to resolve `node:console` before stdout is ready
*   (Node side) or touch `globalThis.console` during a service-worker cold
*   start (browser side). The `Logger` class itself comes from `./logger`,
*   which the package.json `'browser'` condition routes to the right
*   implementation per platform.
*/
let sharedLogger;
function getDefaultLogger() {
	if (sharedLogger === void 0) sharedLogger = new require_logger_node.Logger();
	return sharedLogger;
}

//#endregion
exports.getDefaultLogger = getDefaultLogger;