Roxen.git / server / base_server / module.pike

version» Context lines:

Roxen.git/server/base_server/module.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2004, Roxen IS. - // $Id: module.pike,v 1.234 2008/12/11 17:17:43 jonasw Exp $ + // $Id: module.pike,v 1.235 2009/04/14 16:01:32 jonasw Exp $      #include <module_constants.h>   #include <module.h>   #include <request_trace.h>      constant __pragma_save_parent__ = 1;      // Tell Pike.count_memory this is global.   constant pike_cycle_depth = 0;   
Roxen.git/server/base_server/module.pike:39:      /* These functions exist in here because otherwise the messages in the    * event log do not always end up in the correct module/configuration.    * And the reason for that is that if the messages are logged from    * subclasses in the module, the DWIM in roxenlib.pike cannot see that    * they are logged from a module. This solution is not really all that    * beautiful, but it works. :-)    */   void report_fatal( mixed ... args ) { predef::report_fatal( @args ); }   void report_error( mixed ... args ) { predef::report_error( @args ); } + void report_warning( mixed ... args ){ predef::report_warning( @args );}   void report_notice( mixed ... args ) { predef::report_notice( @args ); }   void report_debug( mixed ... args ) { predef::report_debug( @args ); }      void log_event (string facility, string action, string resource,    void|mapping(string:mixed) info)   //! Log an event. See @[Configuration.log_event] for details.   //!   //! @[facility] may be zero. The local module identifier as returned   //! by @[module_local_id] is used as facility in that case.   {