Files
marqdo/lib/日志.mq.md
T
cflmyandCursor f4b39dfe80 feat(stdlib): Mid M6 log levels and UUID v4
Close the mid-tier stdlib waves with filtered one-line logs and cryptographic UUID minting in lib/, plus golds and public demos.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 20:37:28 +08:00

762 B

title, description
title description
lib/日志 按级别过滤的一行日志(中层 M6)。默认级别 info。

设级别

+ `级别`

级别:debug / info / warn / error(或 调试/信息/警告/错误)。

> host_log_set_level level=级别

调试

+ `内容`

line = > host_log_line level="debug" text=内容

  1. line

打印 内容=line


信息

+ `内容`

line = > host_log_line level="info" text=内容

  1. line

打印 内容=line


警告

+ `内容`

line = > host_log_line level="warn" text=内容

  1. line

打印 内容=line


错误

+ `内容`

line = > host_log_line level="error" text=内容

  1. line

打印 内容=line