blob: 673a183f573796f89254de334fb2c704ca52b2c7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
__END__
=head1 NAME
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.
|