/Users/huttone/Devel/sedflux-new/sedflux/trunk/ew/utils/eh_logging.c File Reference

#include <eh_utils.h>
#include <stdarg.h>
#include <stdlib.h>
#include <time.h>

Go to the source code of this file.

Functions

FILE * eh_open_log (const char *log_name)
FILE * eh_open_log_file (const char *log_name)
void eh_print_log (const char *log_name, const char *message,...)
void eh_close_log (const char *log_name)
void eh_redirect_log (const char *log_file1, const char *log_file2)
void eh_reset_log (const char *log_file)
void eh_set_ignore_log_level (GLogLevelFlags ignore)
GLogLevelFlags eh_set_verbosity_level (gint verbosity)
void eh_logger (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer user_data)

Variables

GHashTable * _log_files_
long int _log_file_code_


Function Documentation

void eh_close_log ( const char *  log_name  ) 

Definition at line 137 of file eh_logging.c.

References _log_files_.

void eh_logger ( const gchar *  log_domain,
GLogLevelFlags  log_level,
const gchar *  message,
gpointer  user_data 
)

Definition at line 208 of file eh_logging.c.

References eh_exit(), eh_free, EH_LOG_LEVEL_DATA, and eh_new.

Referenced by main(), sed_process_scan(), and sedflux_setup().

FILE* eh_open_log ( const char *  log_name  ) 

Definition at line 31 of file eh_logging.c.

References _log_file_code_, _log_files_, eh_free, and eh_str_case_equal().

Referenced by eh_open_log_file(), eh_print_log(), eh_redirect_log(), and main().

FILE* eh_open_log_file ( const char *  log_name  ) 

Definition at line 85 of file eh_logging.c.

References eh_exit(), and eh_open_log().

Referenced by sed_process_scan().

void eh_print_log ( const char *  log_name,
const char *  message,
  ... 
)

Definition at line 113 of file eh_logging.c.

References _log_files_, eh_free, and eh_open_log().

Referenced by main().

void eh_redirect_log ( const char *  log_file1,
const char *  log_file2 
)

Definition at line 148 of file eh_logging.c.

References _log_files_, and eh_open_log().

Referenced by sed_process_run_now().

void eh_reset_log ( const char *  log_file  ) 

Definition at line 160 of file eh_logging.c.

References _log_files_.

Referenced by sed_process_run_now().

void eh_set_ignore_log_level ( GLogLevelFlags  ignore  ) 

Definition at line 171 of file eh_logging.c.

Referenced by eh_set_verbosity_level().

GLogLevelFlags eh_set_verbosity_level ( gint  verbosity  ) 

Definition at line 177 of file eh_logging.c.

References eh_set_ignore_log_level().

Referenced by main(), and sedflux_parse_command_line().


Variable Documentation

long int _log_file_code_

Definition at line 26 of file eh_logging.c.

Referenced by eh_open_log().

GHashTable* _log_files_

Definition at line 25 of file eh_logging.c.

Referenced by eh_close_log(), eh_open_log(), eh_print_log(), eh_redirect_log(), and eh_reset_log().


Generated on Fri Jan 4 18:04:18 2008 for sedflux by  doxygen 1.5.2