]> mj.ucw.cz Git - libucw.git/commit
Logging: The Great Shuffle
authorMartin Mares <mj@ucw.cz>
Fri, 13 Feb 2009 16:22:43 +0000 (17:22 +0100)
committerMartin Mares <mj@ucw.cz>
Fri, 13 Feb 2009 16:22:43 +0000 (17:22 +0100)
commit464a5c3067d1fbed8e2f9899e8e3459e7948e07e
tree8d22fdcd0094b639ff1e1cf279b306ea2f49d88c
parentfd2af7c42ca0574eb3dffd5c2dbae35432da12bc
Logging: The Great Shuffle

I have split the new logging machinery to several files and started merging
it with the old logger.

The intention behind the split is that programs which do not create their
own log streams should include only <ucw/lib.h> (which brings only the minimum
set of symbols) and link only a minimalistic library module, while the programs
in need of the full power of the new logger include <ucw/log.h> and link with
all log-* modules.

I have also started renaming `ls_*' to `log_*', but so far only at a couple
of places.

(Beware, most parts of the trees are currently left in an uncompilable
state. Use `make obj/ucw/log-t' for a working test program.)
ucw/Makefile
ucw/lib.h
ucw/log-file.c
ucw/log-stream.c [new file with mode: 0644]
ucw/log-syslog.c [new file with mode: 0644]
ucw/log.c
ucw/log.h [new file with mode: 0644]
ucw/logstream.c [deleted file]
ucw/logstream.h [deleted file]