Files
marqdo/lib/log.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

48 lines
674 B
Markdown

---
title: lib/log
description: Level-filtered one-line logs (Mid M6). Default level info.
---
## set_level
+ `level`
level is debug / info / warn / error.
**> host_log_set_level level=`level`**
## debug
+ `text`
*line = > host_log_line level="debug" text=`text`*
1. `line`
> print text=`line`
2. *
****
## info
+ `text`
*line = > host_log_line level="info" text=`text`*
1. `line`
> print text=`line`
2. *
****
## warn
+ `text`
*line = > host_log_line level="warn" text=`text`*
1. `line`
> print text=`line`
2. *
****
## error
+ `text`
*line = > host_log_line level="error" text=`text`*
1. `line`
> print text=`line`
2. *
****