Pudu programming language
Menu
API reference

Std.Log.pretty

1 declaration

fn

pretty: Std.Log.Line -> Str

This is a callable function.

What it does

A line written for someone reading it as it happens.

The parts a person scans for come first and unlabelled — when, how bad, and

who — because at a terminal the position is the label. The message ends the

line so the eye can run down the right of the output and read what happened:

2026-08-31T12:00:00Z INFO checkout order=A17 captured

Read the signature

  • The text after the name is the type checked by Pudu.
  • Read arrows from left to right: inputs come first, and the final type is returned.

Back to Std.LogSearch related declarations