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

//#region src/logger/browser.ts
/**
* @file Browser-safe `Logger` implementation — mirrors the public `success` /
*   `fail` / `warn` / `error` / `info` / `log` surface of the Node `Logger`
*   (see `./node`) but backed by the global `console` so it works in Chrome MV3
*   service workers, content scripts, popups, and any other browser context
*   without `node:process` / `node:console` / fs. Consumers should import
*   `Logger` from `./logger` (auto-routed by the package.json `browser`
*   condition) or `./default` for the singleton. `./browser` is the
*   explicit-platform name; useful for tests pinning to one implementation.
*/
const SYM_SUCCESS = "✓";
const SYM_FAIL = "✕";
const SYM_WARN = "⚠";
const SYM_INFO = "ℹ";
var Logger = class {
	log(message, ...args) {
		console.log(message, ...args);
		return this;
	}
	info(message, ...args) {
		console.log(SYM_INFO, message, ...args);
		return this;
	}
	warn(message, ...args) {
		console.warn(SYM_WARN, message, ...args);
		return this;
	}
	error(message, ...args) {
		console.error(SYM_FAIL, message, ...args);
		return this;
	}
	success(message, ...args) {
		console.log(SYM_SUCCESS, message, ...args);
		return this;
	}
	fail(message, ...args) {
		return this.error(message, ...args);
	}
};

//#endregion
exports.Logger = Logger;