macro_rules! default_fmt_layer {
($layer:expr) => { ... };
}Expand description
Creates a formatted layer with standard configuration options.
This macro applies consistent formatting settings to any tracing layer, including line numbers, log levels, thread IDs, and target information. ANSI colors are disabled for compatibility with various output destinations.
§Arguments
$layer- A tracing layer expression to be configured
§Returns
The configured layer with the following settings:
- ANSI colors: disabled
- Line numbers: enabled
- Log levels: enabled
- Thread IDs: enabled
- Target information: enabled