Files
marqdo/public/features/13-log-uuid.mq.md
T
cflmyandCursor b5c07385e9 feat(markup): finish v0.3 stock migration and green gold
Migrate remaining .mq.md (tests/ext/public/examples), stop elevating local assigns to params, inject form_target in Go libweb, and skip live LLM gold without a real key.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 23:43:44 +08:00

25 lines
469 B
Markdown

---
title: Mid stdlib — log and uuid
description: Level-filtered logs + UUID v4 (Mid M6)
import log:lib/log.mq.md
import uuid:lib/uuid.mq.md
---
# Observable scripts without plugins
Default log level is info; raise to debug when you need more. Mint ids with uuid.v4.
# main
> log.info text="mid-m6-start"
> log.debug text="skipped-by-default"
> log.set_level level="debug"
> log.debug text="now-visible"
**id = > uuid.v4**
**n = > len `id`**
> print text=`n`