Possible compatibility problems with earlier versions marked with '*'.
Modified the YAZ logging system. The LOG level defines use YLOG_ prefix
-instead of LOG_, due to name clash with syslog(3). The new header for
-YAZ log is <yaz/ylog.h>. The old definitions are kept in <yaz/log.h>
-with all old definitions with values kept - so all applications should
-compile as usual. See "Log" chapter in YAZ manual.
+instead of LOG_, due to name clash with syslog(3). LOG_ are still
+present. New applications should define YAZ_USE_NEW_LOG=1 - this
+will effectively disable old definitions.
--- 2.0.28 2004/11/09
-<!-- $Id: tools.xml,v 1.42 2004-11-23 14:11:03 heikki Exp $ -->
+<!-- $Id: tools.xml,v 1.43 2004-12-13 20:17:41 adam Exp $ -->
<chapter id="tools"><title>Supporting Tools</title>
<para>
production use of those applications.
</para>
<para>
- The log functions are declared in header <filename>yaz/ylog.h</filename>
+ The log functions are declared in header <filename>yaz/log.h</filename>
and implemented in <filename>src/log.c</filename>.
Due to name clash with syslog and some math utilities the logging
interface has been modified as of YAZ 2.0.29. The obsolete interface
- is still available if the application includes
- <filename>yaz/log.h</filename>. The key points of the interface are:
+ is still available if in header file <filename>yaz/log.h</filename>.
+ The key points of the interface are:
</para>
<screen>
void yaz_log(int level, const char *fmt, ...)
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
-<!-- $Id: yaz-log-man.xml,v 1.1 2004-11-23 14:11:03 heikki Exp $ -->
+<!-- $Id: yaz-log-man.xml,v 1.2 2004-12-13 20:17:41 adam Exp $ -->
<refentry id="yaz-log">
<refmeta>
<refentrytitle>yaz-log</refentrytitle>
<refsect1><title>FILES</title>
<para>
- <filename><replaceable>prefix</replaceable>/include/yaz/ylog.h</filename>
+ <filename><replaceable>prefix</replaceable>/include/yaz/log.h</filename>
<filename><replaceable>prefix</replaceable>/src/log.c</filename>
</para>
</refsect1>