Module LogLevel

Module LogLevel 

Source
Expand description

§LogLevel

Resolves the logging level for the application.

§RESPONSIBILITIES

§Log Level Resolution

  • Read RUST_LOG environment variable
  • Apply default log level based on build type
  • Resolve final log level for logging initialization

§ARCHITECTURAL ROLE

§Position in Mountain

  • Early initialization component in Binary subsystem
  • Provides log level configuration

§Dependencies

  • log: Logging framework
  • std::env: Environment variable access

§Dependents

  • Fn() main entry point: Uses resolved log level

§SECURITY

§Considerations

  • No security impact (logging only)

§PERFORMANCE

§Considerations

  • Log level resolution is fast
  • Correct log level reduces logging overhead

Functions§

GetDefault
Get the default log level for the current build type.
Resolve
Resolve the application log level.