Function log_memory_usage

Source
pub fn log_memory_usage(name: &str)
Expand description

Logs the memory usage of the system at the TRACE level.

This function logs the available memory, used memory, and the percentage of memory used. It only logs this information if the TRACE level is enabled in the tracing configuration.

ยงArguments

  • name - A string slice that holds the name to be included in the log message.