From: miker Date: Thu, 28 Jun 2007 01:07:55 +0000 (+0000) Subject: I missed patching the header somehow ... (Part of a patch from Scott McKellar. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e7ded25b52d79d3c4bdd1d3fc34f8baeec454870;p=opensrf%2Fbjwebb.git 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.) git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@979 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/include/opensrf/log.h b/include/opensrf/log.h index 9096d86..b3741c9 100644 --- a/include/opensrf/log.h +++ b/include/opensrf/log.h @@ -32,6 +32,13 @@ void osrfLogSetSyslogFacility( int facility ); /** 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 @@ void osrfLogInternal( const char* file, int line, const char* msg, ... ); /* 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 );