--- id: log-warn name: Log.warn category: log kind: namespace-method tokens: Log.warn sig: Log.warn(msg, [key, value]...) -> void tip: Log at the warn level (3) — something looks wrong. order: 4 ns: Log member: warn --- Logs msg at the **warn** level (3) — something is wrong but the game recovered: a missing asset fell back to a placeholder, a value was clamped, a deprecated path was taken. It prints on stderr as [WARN] msg with any structured key=value fields, when the Log.set_level threshold is 3 or lower. Warnings are a good level to keep on in release builds so player bug reports capture them. Parameters: - `msg` — the message string - `key, value...` — optional trailing pairs; values may be strings or numbers ```ludic program Warn { entry { Log.warn("missing texture, using placeholder", "path", "rock.png") } } ```