Skip to content
Tom Feist edited this page Jan 9, 2011 · 30 revisions

Irssi::Log

home | Irssi
* [[ATTRIBUTES|Log#ATTRIBUTES]]
* [[METHODS|Log#METHODS]]
* [[update|Log#update]]
* [[close|Log#close]]
* [[start_logging|Log#start_logging]]
* [[stop_logging|Log#stop_logging]]
* [[item_add $type, $name, $server|Log#item_add_$type,_$name,_$server]]
* [[item_destroy $item|Log#item_destroy_$item]]
* [[item_find $type, $item, $server|Log#item_find_$type,_$item,_$server]]
* [[write_rec|Log#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