log_write_rec(): added level parameter. writing /LASTLOG to log files

doesn't anymore print the current timestamp at the start of line since
/LASTLOG messages have their original timestamp already.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1235 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-02-17 12:08:31 +00:00 committed by cras
commit e5f1216797
3 changed files with 18 additions and 15 deletions

View file

@ -45,7 +45,7 @@ LOG_ITEM_REC *log_item_find(LOG_REC *log, int type, const char *item,
void log_file_write(SERVER_REC *server, const char *item, int level,
const char *str, int no_fallbacks);
void log_write_rec(LOG_REC *log, const char *str);
void log_write_rec(LOG_REC *log, const char *str, int level);
int log_start_logging(LOG_REC *log);
void log_stop_logging(LOG_REC *log);