Skip to main content

Module fmt

Module fmt 

Source
Expand description

HTML and Markdown formatting for captured log events.

Each helper appends one entry or table header to a caller-provided formatter. Event entries include tracing level and span context, while the header helper writes column labels.

Functionsยง

html
Appends one captured log event as an HTML line.
markdown
Appends one captured log event as a Markdown line.
markdown_table
Appends one captured log event as a Markdown table row.
markdown_table_head
Appends the header for a captured-log Markdown table.