void vortex_log_filter_level ( VortexCtx ctx,
const char *  filter_string 
)

Allows to configure which levels will be filtered from log output.

This can be useful to only show debug, warning or critical messages (or any mix).

For example, to only show critical, pass filter_string = "debug, warning". To show warnings and criticals, pass filter_string = "debug".

To disable any filtering, use filter_string = NULL.

Parameters
ctxThe vortex context that will be configured with a log filter.
filter_stringThe filter string to be used. You can separate allowed values as you wish. Allowed filter items are: debug, warning, critical.

Referenced by vortex_log_filter_is_enabled().