OxL Reference

method log.warn

Something unexpected that the program handled.

Example:

oxl✓ checked in CI
use std.obs { log }

fn main() io {
  log.warn("disk is almost full")
  print("logged")
}
Output
logged
pub(api) static fn warn(msg: str) io

Since. 1.0.0-beta

Parameters

NameType
msgstr

Effects

io

Defined in: std/obs/obs.oxl:166

See also