#include "messages.h"#include "timeutils/cache.h"#include "logmsg/logmsg.h"#include "thread-utils.h"#include <stdio.h>#include <unistd.h>#include <stdarg.h>#include <errno.h>#include <string.h>#include <stdlib.h>#include <evtlog.h>
Classes | |
| struct | MsgContext |
Macros | |
| #define | ADD_THREADID_TAG_TO_EVT_MSGS 0 |
Enumerations | |
| enum | { RECURSE_STATE_OK = 0 , RECURSE_STATE_WATCH = 1 , RECURSE_STATE_SUPPRESS = 2 } |
Functions | |
| void | msg_set_context (LogMessage *msg) |
| void | msg_send_formatted_message (int prio, const char *msg) |
| void | msg_send_message_printf (int prio, const gchar *fmt,...) |
| void | msg_event_send (EVTREC *e) |
| void | msg_event_suppress_recursions_and_send (EVTREC *e) |
| void | msg_event_print_event_to_stderr (EVTREC *e) |
| EVTREC * | msg_event_create (gint prio, const gchar *desc, EVTTAG *tag1,...) |
| EVTREC * | msg_event_create_from_desc (gint prio, const char *desc) |
| void | msg_event_free (EVTREC *e) |
| void | msg_log_func (const gchar *log_domain, GLogLevelFlags log_flags, const gchar *msg, gpointer user_data) |
| void | msg_set_post_func (MsgPostFunc func) |
| void | msg_post_message (LogMessage *msg) |
| gint | msg_map_string_to_log_level (const gchar *log_level) |
| void | msg_set_log_level (gint new_log_level) |
| gint | msg_get_log_level (void) |
| void | msg_apply_cmdline_log_level (gint new_log_level) |
| void | msg_apply_config_log_level (gint new_log_level) |
| void | msg_init (gboolean interactive) |
| void | msg_deinit (void) |
| void | msg_add_option_group (GOptionContext *ctx) |
Variables | |
| gboolean | startup_debug_flag = 0 |
| gboolean | debug_flag = 0 |
| gboolean | verbose_flag = 0 |
| gboolean | trace_flag = 0 |
| gboolean | log_stderr = FALSE |
| gboolean | skip_timestamp_on_stderr = FALSE |
| #define ADD_THREADID_TAG_TO_EVT_MSGS 0 |
| void msg_add_option_group | ( | GOptionContext * | ctx | ) |
| void msg_apply_cmdline_log_level | ( | gint | new_log_level | ) |
| void msg_apply_config_log_level | ( | gint | new_log_level | ) |
| void msg_deinit | ( | void | ) |
| EVTREC* msg_event_create | ( | gint | prio, |
| const gchar * | desc, | ||
| EVTTAG * | tag1, | ||
| ... | |||
| ) |
| EVTREC* msg_event_create_from_desc | ( | gint | prio, |
| const char * | desc | ||
| ) |
| void msg_event_free | ( | EVTREC * | e | ) |
| void msg_event_print_event_to_stderr | ( | EVTREC * | e | ) |
| void msg_event_send | ( | EVTREC * | e | ) |
| void msg_event_suppress_recursions_and_send | ( | EVTREC * | e | ) |
| gint msg_get_log_level | ( | void | ) |
| void msg_init | ( | gboolean | interactive | ) |
| void msg_log_func | ( | const gchar * | log_domain, |
| GLogLevelFlags | log_flags, | ||
| const gchar * | msg, | ||
| gpointer | user_data | ||
| ) |
| gint msg_map_string_to_log_level | ( | const gchar * | log_level | ) |
| void msg_post_message | ( | LogMessage * | msg | ) |
| void msg_send_formatted_message | ( | int | prio, |
| const char * | msg | ||
| ) |
| void msg_send_message_printf | ( | int | prio, |
| const gchar * | fmt, | ||
| ... | |||
| ) |
| void msg_set_context | ( | LogMessage * | msg | ) |
| void msg_set_log_level | ( | gint | new_log_level | ) |
| void msg_set_post_func | ( | MsgPostFunc | func | ) |
| gboolean debug_flag = 0 |
| gboolean log_stderr = FALSE |
| gboolean skip_timestamp_on_stderr = FALSE |
| gboolean startup_debug_flag = 0 |
| gboolean trace_flag = 0 |
| gboolean verbose_flag = 0 |