void afdal_log_enable_filter gboolean  status,
gchar *  filter_string
 

Enable module filtering for console debug.

This funcion will allow to enable filtering for those modules writing to console. See this explanation about how to use module filtering.

The function will set the envinronment variable AF_DEBUG_FILTER using the user provided data. AF_DEBUG variable must be activated in order to make console log filtering work.

Parameters:
status if TRUE AF_DEBUG_FILTER will be activated. Otherwise the environment variable will be unset.
filter_string a user defined string to use in the filtering process. Values can be: "afdal" to show only afdal module or "afdal*" to show all module containing the afdal keyword.