Files
marqdo/public/features/13-log-uuid.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

25 lines
465 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`