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/mapBdsLevelToken.md.
  • 简体中文
  • Function: mapBdsLevelToken()

    function mapBdsLevelToken(token: string): LogLevel;

    Defined in: logs/format.ts:34

    将 BDS 级别词字符串映射为平台标准的 LogLevel 枚举(大小写不敏感)。

    Parameters

    ParameterTypeDescription
    tokenstringBDS 输出中的日志级别词。

    Returns

    LogLevel

    标准的 LogLevel 级别。