1Log::Message::Config(3)User Contributed Perl DocumentatioLnog::Message::Config(3)
2
3
4

NAME

6       Log::Message::Config
7

SYNOPSIS

9           # This module is implicitly used by Log::Message to create a config
10           # which it uses to log messages.
11           # For the options you can pass, see the C<Log::Message new()> method.
12
13           # Below is a sample of a config file you could use
14
15           # comments are denoted by a single '#'
16           # use a shared stack, or have a private instance?
17           # if none provided, set to '0',
18           private = 1
19
20           # do not be verbose
21           verbose = 0
22
23           # default tag to set on new items
24           # if none provided, set to 'NONE'
25           tag = SOME TAG
26
27           # default level to handle items
28           # if none provided, set to 'log'
29           level = carp
30
31           # extra files to include
32           # if none provided, no files are auto included
33           include = mylib.pl
34           include = ../my/other/lib.pl
35
36           # automatically delete items
37           # when you retrieve them from the stack?
38           # if none provided, set to '0'
39           remove = 1
40
41           # retrieve errors in chronological order, or not?
42           # if none provided, set to '1'
43           chrono = 0
44

DESCRIPTION

46       Log::Message::Config provides a standardized config object for
47       Log::Message objects.
48
49       It can either read options as perl arguments, or as a config file.  See
50       the Log::Message manpage for more information about what arguments are
51       valid, and see the Synopsis for an example config file you can use
52

SEE ALSO

54       Log::Message, Log::Message::Item, Log::Message::Handlers
55

AUTHOR

57       This module by Jos Boumans <kane@cpan.org>.
58

Acknowledgements

60       Thanks to Ann Barcomb for her suggestions.
61
63       This module is copyright (c) 2002 Jos Boumans <kane@cpan.org>.  All
64       rights reserved.
65
66       This library is free software; you may redistribute and/or modify it
67       under the same terms as Perl itself.
68
69
70
71perl v5.8.8                       2003-05-07           Log::Message::Config(3)
Impressum