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

    function levelTagFull(lvl: LogLevel, color?: boolean): string;

    Defined in: logs/format.ts:126

    完整级别标签: [INFO] [WARN] [ERROR] [OK] [DEBUG]

    Parameters

    ParameterTypeDefault value
    lvlLogLevelundefined
    colorbooleantrue

    Returns

    string