11#ifndef _GVM_BASE_LOGGING_H
12#define _GVM_BASE_LOGGING_H
20#define LOG_REFERENCES_AVAILABLE
32gvm_log_silent (
const char *, GLogLevelFlags,
const char *, gpointer);
34gvm_log_func (
const char *, GLogLevelFlags,
const char *, gpointer);
void gvm_log_func(const char *log_domain, GLogLevelFlags log_level, const char *message, gpointer gvm_log_config_list)
Creates the formatted string and outputs it to the log destination.
void free_log_reference(void)
Free the log reference object.
char * get_log_reference(void)
Get the log reference object.
void set_log_reference(char *ref)
Set the log reference object.
void log_func_for_gnutls(int level, const char *message)
This function logs debug messages from gnutls.
void free_log_configuration(GSList *log_domain_list)
Frees all resources loaded by the config loader.
gchar * get_time(gchar *time_fmt)
Returns time as specified in time_fmt strftime format.
GSList * load_log_configuration(const gchar *config_file)
Loads parameters from a config file into a linked list.
void gvm_log_unlock(void)
Unlock logger_mutex.
void gvm_log_lock(void)
Try to lock logger_mutex.
void set_log_tz(const gchar *tz)
Set the log timezone.
int setup_log_handlers(GSList *gvm_log_config_list)
Sets up routing of logdomains to log handlers.
void gvm_log_silent(const char *log_domain, GLogLevelFlags log_level, const char *message, gpointer gvm_log_config_list)
Returns immediately.