Define AVS_COMMONS_LOG_USE_GLOBAL_BUFFER

Define Documentation

AVS_COMMONS_LOG_USE_GLOBAL_BUFFER

Configures avs_log to use a synchronized global buffer instead of allocating a buffer on the stack when constructing log messages.

Requires avs_compat_threading to be enabled.

Enabling this option would reduce the stack space required to use avs_log, at the expense of global storage and the complexity of using a mutex.