void valvula_color_log_enable ( ValvulaCtx ctx,
axl_bool  status 

Enable console color log.

Note that this doesn't enable logging, just selects color messages if logging is already enabled, see valvula_log_enable().

This is mainly useful to hunt messages using its color:

  • red: errors, critical
  • yellow: warnings
  • green: info, debug

You can also enable color log by setting VALVULA_DEBUG_COLOR environment variable to 1.

ctxThe context where the operation will be performed.
statusaxl_true enable color log, axl_false disables it.