Elektrobit / flake-pilot

Registration/Control utility for applications launched through a runtime-engine, e.g containers
MIT License
9 stars 5 forks source link

Debug function loses information #135

Open Ichmed opened 1 year ago

Ichmed commented 1 year ago

The default debug!() macro can already be turned on and off using a log-level. By wrapping the macro in a function the source of the debug is not shown correctly.

Solutions:

  1. Just use the default log level system
  2. Wrap the call to debug! in a macro instead of a function so positional information is not lost