/LOG OPEN -color, /SET awaylog_colors - specifies that the color codes

should be written to log file.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1742 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-08-13 13:51:49 +00:00 committed by cras
commit 4e3b1bba62
4 changed files with 77 additions and 19 deletions

View file

@ -6,6 +6,8 @@ enum {
LOG_ITEM_WINDOW_REFNUM
};
typedef char *(*COLORIZE_FUNC)(const char *str);
typedef struct {
int type;
char *name;
@ -22,6 +24,7 @@ typedef struct {
GSList *items; /* log only on these items */
time_t last; /* when last message was written */
COLORIZE_FUNC colorizer;
unsigned int autoopen:1; /* automatically start logging at startup */
unsigned int failed:1; /* opening log failed last time */