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>
25 lines
469 B
Markdown
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`
|