From: Adam Dickmeiss Date: Mon, 13 Dec 2004 20:17:41 +0000 (+0000) Subject: Change wording WRT ylog.h/log.h X-Git-Tag: YAZ.2.0.30~28 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=91905e9defa685f0c38914372a188721c38d0942;p=yaz-moved-to-github.git Change wording WRT ylog.h/log.h --- diff --git a/NEWS b/NEWS index 5b19175..db1767f 100644 --- a/NEWS +++ b/NEWS @@ -1,10 +1,9 @@ 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 . The old definitions are kept in -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 diff --git a/doc/tools.xml b/doc/tools.xml index ea838c7..e67661c 100644 --- a/doc/tools.xml +++ b/doc/tools.xml @@ -1,4 +1,4 @@ - + Supporting Tools @@ -1803,12 +1803,12 @@ typedef struct oident production use of those applications. - The log functions are declared in header yaz/ylog.h + The log functions are declared in header yaz/log.h and implemented in src/log.c. 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 - yaz/log.h. The key points of the interface are: + is still available if in header file yaz/log.h. + The key points of the interface are: void yaz_log(int level, const char *fmt, ...) diff --git a/doc/yaz-log-man.xml b/doc/yaz-log-man.xml index c2126bb..cabd73d 100644 --- a/doc/yaz-log-man.xml +++ b/doc/yaz-log-man.xml @@ -1,5 +1,5 @@ - + yaz-log @@ -211,7 +211,7 @@ FILES - prefix/include/yaz/ylog.h + prefix/include/yaz/log.h prefix/src/log.c