Roxen.git
/
server
/
base_server
/
module.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/base_server/module.pike:1:
// This file is part of Roxen WebServer. // Copyright © 1996 - 2009, Roxen IS.
-
// $Id: module.pike,v 1.
245
2012/
01
/
23
12
:
50
:
52
grubba
Exp $
+
// $Id: module.pike,v 1.
246
2012/
07
/
02
10
:
05
:
18
mast
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:59:
void report_fatal(sprintf_format fmt, sprintf_args ... args) { predef::report_fatal(fmt, @args); } void report_error(sprintf_format fmt, sprintf_args ... args) { predef::report_error(fmt, @args); } void report_warning(sprintf_format fmt, sprintf_args ... args) { predef::report_warning(fmt, @args); } void report_notice(sprintf_format fmt, sprintf_args ... args) { predef::report_notice(fmt, @args); } void report_debug(sprintf_format fmt, sprintf_args ... args) { predef::report_debug(fmt, @args); }
+
void report_warning_sparsely (sprintf_format fmt, sprintf_args ... args)
+
{predef::report_warning_sparsely (fmt, @args);}
+
void report_error_sparsely (sprintf_format fmt, sprintf_args ... args)
+
{predef::report_error_sparsely (fmt, @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. { _my_configuration->log_event (facility || _module_local_identifier, action, resource, info);