X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=inline;f=ucw%2Fdoc%2Flog.txt;h=28265f7290af6c4795cb5d85e8736f75df062435;hb=e6688eeb82d349a202a30a243a59079bdc4c212d;hp=4eb15769e5a3a9f07dcb70c207b9fade63c02cd5;hpb=474d8444bdc73f99a19a9c48aa0efed1453423a4;p=libucw.git diff --git a/ucw/doc/log.txt b/ucw/doc/log.txt index 4eb15769..28265f72 100644 --- a/ucw/doc/log.txt +++ b/ucw/doc/log.txt @@ -82,7 +82,7 @@ Example int main(int argc, char **argv) { log_init(argv[0]); - struct log_stream *ls = log_new_file("/var/log/utterances"); + struct log_stream *ls = log_new_file("/var/log/utterances", 0); msg(L_INFO | ls->regnum, "Aye captain, we have a log file"); msg(L_INFO, "Alas, stderr still works"); return 0;