void afgs_log_write gchar *  log_msg,
  ...
 

Sends a log to default configured log file.

This function will send a message to the configured log file. This function also uses 'log active' and 'log file' config values at server.cfg config file. First value, 'log active', activates log functionality.

This function receives a variable argument list in a printf-like format. An example could be:

   // log a line into the log
   afgs_log_write ("This is a log with this value=%s, number=%d",
                   string_value, int_value);

Parameters:
log_msg Message with printf format.