src/inc/log.h 1.8
1.8 2010/01/12 09:06:24 markd
added support for setting minimum priority to log
Index: src/inc/log.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/log.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -b -B -U 4 -r1.7 -r1.8
--- src/inc/log.h 21 Feb 2008 02:13:25 -0000 1.7
+++ src/inc/log.h 12 Jan 2010 09:06:24 -0000 1.8
@@ -16,8 +16,12 @@
* This adds a warn and errAbort handlers that do logging. If custom handlers
* are added, they should call logErrorVa().
*/
+void logSetMinPriority(char *minPriority);
+/* set minimum priority to log, which is one of the syslog priority names,
+ * even when logging to a file */
+
FILE *logGetFile();
/* Returns the log FILE object if file logging is enabled, or NULL if it
* isn't. This is useful for logging debugging data that doesn't fit the log
* message paradigm, For example, logging fasta records. */