[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[fluid-dev] Enable/disable logging at configure time
From: |
Carlo Bramini |
Subject: |
[fluid-dev] Enable/disable logging at configure time |
Date: |
Sun, 29 Oct 2017 11:58:52 +0100 (CET) |
Hello,
I would like to suggest the addition of an option "disable-logging" in the
cmake script, that will allow the user to de-activate the log prints.
In the code, this just means a change like this into fluidsynth_priv.h:
#ifdef DISABLE_FLUID_LOG
#define FLUID_LOG
#else
#define FLUID_LOG fluid_log
#endif
It saves some memory if someone wants (about 12KB on an ARM Thumb2
microcontroller) and it would be selectable by the user (logging will be
activated by default).
What do you think?
Sincerely.
- [fluid-dev] Enable/disable logging at configure time,
Carlo Bramini <=