Files
marqdo/lib/log.mq.md
T
cflmyandCursor bfb10d172b feat(markup): adopt v0.3 as sole mapping (** code, * return)
Make prose-unified Markup the only runtime: bold segments are executable,
italic is return, params can be inferred from body/prose, with no v0.2 dual
mode. Migrate lib and structure/keywords golds; gate on tests/markup-v03.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 20:38:53 +08:00

846 B

title, description
title description
lib/log Level-filtered one-line logs (Mid M6 + Mid2 M10 fields). Default level info.

set_level

+ `level`

level is debug / info / warn / error.

> host_log_set_level level=level

debug

+ `text`
+ `fields`=None

line = > host_log_line level="debug" text=text fields=fields

  1. line

print text=line

  1. **

info

+ `text`
+ `fields`=None

line = > host_log_line level="info" text=text fields=fields

  1. line

print text=line

  1. **

warn

+ `text`
+ `fields`=None

line = > host_log_line level="warn" text=text fields=fields

  1. line

print text=line

  1. **

error

+ `text`
+ `fields`=None

line = > host_log_line level="error" text=text fields=fields

  1. line

print text=line

  1. **