aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Irssi/Log.pm
diff options
context:
space:
mode:
Diffstat (limited to 'docs/Irssi/Log.pm')
-rw-r--r--docs/Irssi/Log.pm36
1 files changed, 36 insertions, 0 deletions
diff --git a/docs/Irssi/Log.pm b/docs/Irssi/Log.pm
index 6787f85..673a183 100644
--- a/docs/Irssi/Log.pm
+++ b/docs/Irssi/Log.pm
@@ -6,5 +6,41 @@ Irssi::Log
=head1 FIELDS
+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
+
+
=head1 METHODS
+
+Log::update()
+ Add log to list of logs / save changes to config file.
+
+
+Log::close()
+ Destroy log file.
+
+Log::start_logging()
+ Open log file and start logging.
+
+Log::stop_logging()
+ Close log file.
+
+Log::item_add(type, name, server)
+ Add log item to log.
+
+Log::item_destroy(item)
+ Remove log item from log.
+
+
+Logitem
+Log::item_find(type, item, server)
+ Find item from log.