comparison util.h @ 541:44f67ec5e945

Improve logging facilities. Private chats in query windows are now logged separately. A log file directory can be set in configuration. Room log files are always of format room_%d.ext. Log file extension can be set, default is ".log".
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 11 Nov 2012 18:32:42 +0200
parents 291e3caa91a0
children 97a49a6cc959
comparison
equal deleted inserted replaced
540:658c188101a6 541:44f67ec5e945
84 BOOL str_get_timestamp(char *str, size_t len, const char *fmt); 84 BOOL str_get_timestamp(char *str, size_t len, const char *fmt);
85 char * str_trim_left(char *buf); 85 char * str_trim_left(char *buf);
86 char * str_trim_right(char *buf); 86 char * str_trim_right(char *buf);
87 int str_compare(const void *s1, const void *s2); 87 int str_compare(const void *s1, const void *s2);
88 88
89
90 char *nn_log_parse_filename(const char *fmt, int id);
91
92 #endif 89 #endif