emilk / loguru

A lightweight C++ logging library
The Unlicense
1.77k stars 256 forks source link

Add DLOG_SCOPE_FUNCTION define #178

Open Nicba1010 opened 3 years ago

Nicba1010 commented 3 years ago

DLOG_SCOPE_FUNCTION would allow the user to use a debug only enabled LOG_SCOPE_FUNCTION define. This can prevent unnecessary log messages while enabling the user to keep the scope functionality in debug only mode.

Nicba1010 commented 3 years ago

@emilk is this a feature you could support? We could use it in the logging of one our our products.

Kind regards, Roberto Anic Banic aconno GmbH