Is your feature request related to a problem? Please describe.
During testing or debugging, some logs that happen very early in the launch process could be missed if the lowest log level (debug) is not enabled from the start.
Describe the solution you'd like
Add a compile-time variable START_LOG_LEVEL that, if defined, will become the log level of this plugin at startup.
Example of usage when compiling for tests:
Is your feature request related to a problem? Please describe. During testing or debugging, some logs that happen very early in the launch process could be missed if the lowest log level (debug) is not enabled from the start.
Describe the solution you'd like Add a compile-time variable
START_LOG_LEVEL
that, if defined, will become the log level of this plugin at startup. Example of usage when compiling for tests:Describe alternatives you've considered N/A
Additional context Example of implementation in: https://github.com/fledge-power/fledge-south-hnz/issues/77