> In my opinion, it won't be a bad idea to keep the FLUID_LOG macro everywhere, > because it allows to remove the log messages from the sources quite easily. > The user can decide to use an empty macro or an option can be added to cmake, > with something like an ENABLE_LOGGING macro inside config.h, in a similar > manner it has been already done for profiling.
Why? If logging is not appreciated, one should disable it via the API, rather than fiddling with the source code: fluid_set_log_function(FLUID_DBG, NULL, NULL); fluid_set_log_function(FLUID_WARN, NULL, NULL); etc... Tom _______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev