[Opensrf-commits] r979 - trunk/include/opensrf

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Jun 27 21:10:44 EDT 2007


Author: miker
Date: 2007-06-27 21:07:55 -0400 (Wed, 27 Jun 2007)
New Revision: 979

Modified:
   trunk/include/opensrf/log.h
Log:
I missed patching the header somehow ... (Part of a patch from Scott McKellar.
See http://svn.open-ils.org/trac/OpenSRF/changeset/977 for details.)



Modified: trunk/include/opensrf/log.h
===================================================================
--- trunk/include/opensrf/log.h	2007-06-26 08:57:58 UTC (rev 978)
+++ trunk/include/opensrf/log.h	2007-06-28 01:07:55 UTC (rev 979)
@@ -32,6 +32,13 @@
 /** Sets the systlog facility for the activity logs */
 void osrfLogSetSyslogActFacility( int facility );
 
+/** Reroutes logged messages to standard error; */
+/** intended for development and debugging */
+void osrfLogToStderr( void );
+
+/** Undoes the effects of osrfLogToStderr() */
+void osrfRestoreLogType( void );
+
 /** Sets the log file to use if we're logging to a file */
 void osrfLogSetFile( const char* logfile );
 
@@ -62,13 +69,13 @@
 /* Log an activity message */
 void osrfLogActivity( const char* file, int line, const char* msg, ... );
 
-void osrfLogCleanup();
+void osrfLogCleanup( void );
 
-void osrfLogClearXid();
+void osrfLogClearXid( void );
 void osrfLogSetXid(char* xid);
-void osrfLogMkXid();
+void osrfLogMkXid( void );
 void osrfLogSetIsClient(int is);
-char* osrfLogGetXid();
+char* osrfLogGetXid( void );
 
 /* sets the activity flag */
 void osrfLogSetActivityEnabled( int enabled );



More information about the opensrf-commits mailing list