pier        01/07/12 19:18:21

  Modified:    webapp/include wa_main.h
  Log:
  Now a module _MUST_ provide a wa_log(...) call to log messages outside
  request-processing.
  
  Revision  Changes    Path
  1.6       +14 -1     jakarta-tomcat-connectors/webapp/include/wa_main.h
  
  Index: wa_main.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/include/wa_main.h,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- wa_main.h 2001/07/09 22:00:51     1.5
  +++ wa_main.h 2001/07/13 02:18:18     1.6
  @@ -58,7 +58,7 @@
   /**
    * @package Main
    * @author  Pier Fumagalli <mailto:[EMAIL PROTECTED]>
  - * @version $Id: wa_main.h,v 1.5 2001/07/09 22:00:51 pier Exp $
  + * @version $Id: wa_main.h,v 1.6 2001/07/13 02:18:18 pier Exp $
    */
   #ifndef _WA_MAIN_H_
   #define _WA_MAIN_H_
  @@ -212,6 +212,19 @@
    * @param others The parameters to the format string.
    */
   void wa_debug(const char *f, const int l, const char *fmt, ...);
  +
  +/**
  + * Report an error to the web-server log file.
  + * <br>
  + * NOTE: This function is _NOT_ defined in the WebApp library. It _MUST_ be
  + * defined and implemented within the web-server module.
  + *
  + * @param f The file where this function was called.
  + * @param l The line number where this function was called.
  + * @param fmt The format string of the debug message (printf style).
  + * @param others The parameters to the format string.
  + */
  +void wa_log(const char *f, const int l, const char *fmt, ...);
   
   /**
    * The WebApp library memory pool.
  
  
  

Reply via email to