setup

Function setup 

Source
pub fn setup()
Expand description

Sets up the logger for test environments.

This function initializes the env_logger with custom formatting that displays key-value pairs in a structured format with separators. The setup is guaranteed to run only once using std::sync::Once.

ยงFeatures

  • Uses default environment configuration
  • Enables test mode formatting
  • Custom key-value formatter that displays each pair with visual separators