method log.warn
Something unexpected that the program handled.
Example:
use std.obs { log }
fn main() io {
log.warn("disk is almost full")
print("logged")
}Output
logged
pub(api) static fn warn(msg: str) ioSince. 1.0.0-beta
Parameters
| Name | Type |
|---|---|
msg | str |
Effects
io
Defined in: std/obs/obs.oxl:166