Skip to content

warn

In std/io/logging.

effectful fn warn(log: Logger, message: String, data: Data = {:}) : Unit

Writes one Warn event with message and data to log's destination when log's threshold is at most Warn, and gives Unit. Effectful: log | warn("no sightings").