Skip to content

Log-level filter #7422

@MaxwellGengYF

Description

@MaxwellGengYF

Is your feature request related to a problem? Please describe.

在使用 Agent 时,由于log很长,包含 build info 信息等,不利于 Agent 快速识别报错或警告定位。

Describe the solution you'd like

在命令行加入:

xmake -log_level=warning
xmake -log_level=error
可以指定过滤等级

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions