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.

Re-exportsยง

use std::fmt::Write; ๐Ÿ”’
use super::Level; ๐Ÿ”’
use super::color; ๐Ÿ”’
use crate::Result; ๐Ÿ”’

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.