]> mj.ucw.cz Git - libucw.git/commit
Logging: Let log_new_file() and log_new_fd() accept flags.
authorMartin Mares <mj@ucw.cz>
Sat, 21 Feb 2009 21:05:29 +0000 (22:05 +0100)
committerMartin Mares <mj@ucw.cz>
Sat, 21 Feb 2009 21:05:29 +0000 (22:05 +0100)
commitb6acda64c6f8fdb461fc62a03b4030bfc7f1ae07
tree692294acdb5731d04dbccf37cacf2c498093868e
parent733c3bc975fecd22ce00c4e6078642115bdf09a8
Logging: Let log_new_file() and log_new_fd() accept flags.

This way, we can request a stream cloned to stderr (originally, this was
available only via log_file()) or a FD-based stream which closes the FD
upon closing.
ucw/doc/log.txt
ucw/log-conf.c
ucw/log-file.c
ucw/log.h