aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Irssi/Log.pm
diff options
context:
space:
mode:
authorTom Feist <shabble@cowu.be>2010-07-10 20:20:12 +0000
committerTom Feist <shabble@cowu.be>2010-07-10 20:20:12 +0000
commit9bd8711ad413911b63321860a82fc43d6cb760d2 (patch)
treecb6d716bcaa48fed039a1a2a9021b44b3c2d4d10 /docs/Irssi/Log.pm
parentForgot to add a whole bunch of files (diff)
downloadirssi-scripts-9bd8711ad413911b63321860a82fc43d6cb760d2.tar.gz
irssi-scripts-9bd8711ad413911b63321860a82fc43d6cb760d2.zip
more reformattingm, added a guide.pm for general stuff
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.