Greenbone Vulnerability Management Libraries  11.0.1
gvm_logging_t Struct Reference

Logging stores the parameters loaded from a log configuration. More...

Collaboration diagram for gvm_logging_t:
Collaboration graph

Data Fields

gchar * log_domain
 Affected logdomain e.g libnasl. More...
 
gchar * prepend_string
 Prepend this string before every message. More...
 
gchar * prepend_time_format
 If prependstring has t, format for strftime. More...
 
gchar * log_file
 Where to log to. More...
 
GLogLevelFlags * default_level
 What severity level to use as default. More...
 
GIOChannel * log_channel
 Gio Channel - FD holder for logfile. More...
 
gchar * syslog_facility
 Syslog facility to use for syslog logging. More...
 
gchar * syslog_ident
 Syslog ident to use for syslog logging. More...
 
gchar * prepend_separator
 

Detailed Description

Logging stores the parameters loaded from a log configuration.

file, to be used internally by the gvm_logging module only.

Definition at line 48 of file logging.c.

Field Documentation

◆ default_level

GLogLevelFlags* gvm_logging_t::default_level

What severity level to use as default.

Definition at line 54 of file logging.c.

Referenced by free_log_configuration(), gvm_log_func(), and load_log_configuration().

◆ log_channel

GIOChannel* gvm_logging_t::log_channel

Gio Channel - FD holder for logfile.

Definition at line 55 of file logging.c.

Referenced by free_log_configuration(), gvm_log_func(), and load_log_configuration().

◆ log_domain

gchar* gvm_logging_t::log_domain

Affected logdomain e.g libnasl.

Definition at line 50 of file logging.c.

Referenced by free_log_configuration(), gvm_log_func(), load_log_configuration(), and setup_log_handlers().

◆ log_file

gchar* gvm_logging_t::log_file

Where to log to.

Definition at line 53 of file logging.c.

Referenced by free_log_configuration(), gvm_log_func(), and load_log_configuration().

◆ prepend_separator

gchar* gvm_logging_t::prepend_separator

If prependstring has s, used this symbol as separator.

Definition at line 58 of file logging.c.

Referenced by free_log_configuration(), gvm_log_func(), and load_log_configuration().

◆ prepend_string

gchar* gvm_logging_t::prepend_string

Prepend this string before every message.

Definition at line 51 of file logging.c.

Referenced by free_log_configuration(), gvm_log_func(), and load_log_configuration().

◆ prepend_time_format

gchar* gvm_logging_t::prepend_time_format

If prependstring has t, format for strftime.

Definition at line 52 of file logging.c.

Referenced by free_log_configuration(), gvm_log_func(), and load_log_configuration().

◆ syslog_facility

gchar* gvm_logging_t::syslog_facility

Syslog facility to use for syslog logging.

Definition at line 56 of file logging.c.

Referenced by gvm_log_func(), and load_log_configuration().

◆ syslog_ident

gchar* gvm_logging_t::syslog_ident

Syslog ident to use for syslog logging.

Definition at line 57 of file logging.c.

Referenced by free_log_configuration(), gvm_log_func(), and load_log_configuration().


The documentation for this struct was generated from the following file: