Fredrik Thulin wrote:
> In general, I think that LOG_DEBUG and similar macros that evaluate code
> are unappealing because it makes it harder to understand the code, but I
> am also of the opinion that aesthetics in code are not always to be
> considered paramount.
Generally I agree that macros
In general, I think that LOG_DEBUG and similar macros that evaluate code
are unappealing because it makes it harder to understand the code, but I
am also of the opinion that aesthetics in code are not always to be
considered paramount.
Earlier profiling has indicated that debug logging in YXA a
I'd like to request the following logger feature.
a. Replace the logger:log/3 call by macros:
-define(LOG_DEBUG(A, B), logger:log(debug, A, B)).
-define(LOG_ERROR(A, B), logger:log(error, A, B)).
-define(LOG_NORMAL(A, B), logger:log(normal, A, B)).
This way it'll be easy to exclude logging of