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

Irssi::Log

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