For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /reference/sdk/logs/functions/createLogger.md.
  • 简体中文
  • Function: createLogger()

    function createLogger(opts: LoggerOptions): Logger;

    Defined in: logs/logger.ts:101

    创建通用 Logger 实例。

    Parameters

    ParameterType
    optsLoggerOptions

    Returns

    Logger