import type { OutputAdapter } from '../../types'; import type { WebConsoleAdapterOptions } from './types'; /** * Web控制台适配器,用于在浏览器控制台中输出格式化的日志信息 * * 支持的功能: * - 彩色主题和样式自定义 * - 分组显示和折叠控制 * - 多种控制台输出级别 * - 类型过滤和环境检测 * - 自定义消息格式化 * * @template T 数据类型 * @param options 配置选项,可选 * @returns 适配器函数 * * @example * ```typescript * // 基础用法 * const adapter = webConsoleAdapter(); * * // 自定义配置 * const adapter = webConsoleAdapter({ * group: { enable: true, collapsed: false }, * consoleLevel: 'info', * allowTypes: ['info', 'warn', 'error'] * }); * ``` */ export declare const webConsoleAdapter: (options?: WebConsoleAdapterOptions) => OutputAdapter; export type { WebConsoleAdapterOptions } from './types';