mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
Write buffer - logs and rawlogs write to files through this. By default
everything gets written immediately, but you can make it wait until there's specified amount of data in buffer or write once in a hour or so. Useful for people who want to keep hard disk at sleep at nights but still want to log. /SET write_buffer_mins, /SET write_buffer_kb: When to flush buffer. /FLUSHBUFFER: Flush the buffer immediately git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1201 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
5061783f4c
commit
88b091cc95
6 changed files with 213 additions and 8 deletions
|
|
@ -32,6 +32,7 @@
|
|||
#include "chatnets.h"
|
||||
#include "commands.h"
|
||||
#include "expandos.h"
|
||||
#include "write-buffer.h"
|
||||
#include "log.h"
|
||||
#include "rawlog.h"
|
||||
#include "ignore.h"
|
||||
|
|
@ -65,6 +66,7 @@ void core_init(void)
|
|||
expandos_init();
|
||||
ignore_init();
|
||||
servers_init();
|
||||
write_buffer_init();
|
||||
log_init();
|
||||
rawlog_init();
|
||||
|
||||
|
|
@ -86,6 +88,7 @@ void core_deinit(void)
|
|||
|
||||
rawlog_deinit();
|
||||
log_deinit();
|
||||
write_buffer_deinit();
|
||||
servers_deinit();
|
||||
ignore_deinit();
|
||||
expandos_deinit();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue