Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

log.h File Reference

Go to the source code of this file.

Defines

#define LOG_NORMAL   0
#define LOG_WARN   1
#define LOG_ERROR   2
#define LOG(a...)   ht_logf(LOG_NORMAL, a);
#define LOG_EX(c, a...)   ht_logf(c, a);

Functions

void ht_logf (int color, const char *format,...)


Define Documentation

#define LOG a...   )     ht_logf(LOG_NORMAL, a);
 

Definition at line 30 of file log.h.

Referenced by ht_elf::auto_relocate32(), ht_app::create_window_file_bin(), ht_app::create_window_file_text(), ht_le::do_fixups(), ht_elf::fake_undefined_symbols32(), ht_file_window::handlemsg(), ht_app::handlemsg(), htclassimage_init(), htpefimage_init(), ht_aviewer::idle(), ht_pef::init(), ht_pe::init(), ht_ne::init(), ht_macho::init(), ht_le::init(), ht_flt::init(), ht_elf::init(), ht_coff::init(), main(), and ht_app::project_opencreate().

#define LOG_ERROR   2
 

Definition at line 28 of file log.h.

Referenced by ht_app::create_window_file_bin(), ht_app::create_window_file_text(), get_config_dword(), get_config_string(), ht_app::handlemsg(), ht_log::insertline(), main(), and ht_app::project_opencreate().

#define LOG_EX c,
a...   )     ht_logf(c, a);
 

Definition at line 31 of file log.h.

Referenced by ht_app::create_window_file_bin(), ht_app::create_window_file_text(), ht_le::do_fixups(), get_config_dword(), get_config_string(), ht_app::handlemsg(), ht_ne::init(), main(), and ht_app::project_opencreate().

#define LOG_NORMAL   0
 

Definition at line 26 of file log.h.

Referenced by ht_log::insertline().

#define LOG_WARN   1
 

Definition at line 27 of file log.h.

Referenced by ht_le::do_fixups(), ht_ne::init(), ht_log::insertline(), and main().


Function Documentation

void ht_logf int  color,
const char *  format,
... 
 

Definition at line 25 of file log.cc.

References app, AWT_LOG, buf, ht_vsnprintf(), ht_log::log(), loglines, msg_draw, msg_log_changed, and ht_view::sendmsg().


Generated on Fri May 7 21:15:51 2004 by doxygen 1.3.5