From: Gonzalo A. <ga...@us...> - 2006-10-31 19:18:03
|
Update of /cvsroot/mod-c/ehtml/src In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv27797/src Modified Files: EHTMLApplication.cpp Log Message: * Added some profiling stuff. Index: EHTMLApplication.cpp =================================================================== RCS file: /cvsroot/mod-c/ehtml/src/EHTMLApplication.cpp,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** EHTMLApplication.cpp 18 Oct 2006 12:50:33 -0000 1.18 --- EHTMLApplication.cpp 31 Oct 2006 19:17:56 -0000 1.19 *************** *** 233,236 **** --- 233,237 ---- void EHTMLApplication::Error(const char* fmt, ...) const { + ProfileMe(); va_list l; va_start (l, fmt); *************** *** 240,247 **** --- 241,250 ---- void EHTMLApplication::Error(const char* fmt, va_list l) const { + ProfileMe(); Log(APLOG_ERR, fmt, l); } void EHTMLApplication::Debug(const char* fmt, ...) const { + ProfileMe(); va_list l; va_start (l, fmt); *************** *** 251,254 **** --- 254,258 ---- void EHTMLApplication::Debug(const char* fmt, va_list l) const { + ProfileMe(); Log(APLOG_DEBUG, fmt, l); } |