Skip to content
Tom Feist edited this page Sep 23, 2011 · 30 revisions

Irssi::Log

home | Irssi
   ATTRIBUTES
   METHODS
   update
   close
   start_logging
   stop_logging
   item_add $type, $name, $server
   item_destroy $item
   item_find $type, $item, $server
   write_rec

ATTRIBUTES

Log->{}

fname - Log file name
real_fname - The actual opened log file (after %d.%m.Y etc. are expanded)
opened - Log file is open
level - Log only these levels
last - Timestamp when last message was written
autoopen - Automatically open log at startup
failed - Opening log failed last time
temp - Log isn't saved to config file
items - List of log items

METHODS

update

Add log to list of logs / save changes to config file.

close

Destroy log file.

start_logging

Open log file and start logging.

stop_logging

Close log file.

item_add $type, $name, $server

Add log item to log.

item_destroy $item

Remove log item from log.

item_find $type, $item, $server

Find item from log. Returns Irssi::Logitem

write_rec

Undocumented

Clone this wiki locally