2 |
## $Id$ |
## $Id$ |
3 |
## ------------------------------------------------------------------------ |
## ------------------------------------------------------------------------ |
4 |
## $Log$ |
## $Log$ |
5 |
|
## Revision 1.3 2003/12/18 18:19:01 ts-dev |
6 |
|
## typo; create instance at startup |
7 |
|
## |
8 |
## Revision 1.2 2003/12/16 19:27:32 ts-dev |
## Revision 1.2 2003/12/16 19:27:32 ts-dev |
9 |
## first check-in |
## first check-in |
10 |
## |
## |
41 |
$ENABLE_METHODS |
$ENABLE_METHODS |
42 |
$METHOD_LEVELS |
$METHOD_LEVELS |
43 |
$TRACE_STACK_LEVELS |
$TRACE_STACK_LEVELS |
44 |
$loggerai @EXPORT |
$logger @EXPORT |
45 |
); |
); |
|
@EXPORT = qw($logger); |
|
46 |
|
|
47 |
# default behaviour |
# default behaviour |
48 |
$LEVEL_DEFAULT = 'debug'; |
$LEVEL_DEFAULT = 'debug'; |
51 |
$ENABLE_METHODS = 0; |
$ENABLE_METHODS = 0; |
52 |
$METHOD_LEVELS = [3]; |
$METHOD_LEVELS = [3]; |
53 |
$TRACE_STACK_LEVELS = []; |
$TRACE_STACK_LEVELS = []; |
54 |
|
$logger = Class::Logger->new(); |
55 |
|
@EXPORT = qw($logger); |
56 |
|
|
57 |
|
|
58 |
# TODO: review, revise and rewire this! |
# TODO: review, revise and rewire this! |