1logger::appender(n)    Object Oriented logging facility    logger::appender(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       logger::appender - Collection of predefined appenders for logger
9

SYNOPSIS

11       package require Tcl  8.2
12
13       package require logger::appender  ?1.2?
14
15       ::logger::appender::console -level level -service service ?options...?
16
17       ::logger::appender::colorConsole  -level  level  -service  service ?op‐
18       tions...?
19
20______________________________________________________________________________
21

DESCRIPTION

23       This package provides a predefined set of logger templates.
24
25       ::logger::appender::console -level level -service service ?options...?
26
27              -level level
28                     Name of the level to fill in as  "priority"  in  the  log
29                     procedure.
30
31              -service service
32                     Name  of  the service to fill in as "category" in the log
33                     procedure.
34
35              -appenderArgs appenderArgs
36                     Any additional arguments for the log  procedure  in  list
37                     form
38
39              -conversionPattern conversionPattern
40                     The  log pattern to use (see logger::utils::createLogProc
41                     for the allowed substitutions).
42
43              -procName procName
44                     Explicitly set the name of the created procedure.
45
46              -procNameVar procNameVar
47                     Name of the variable to set in the calling context.  This
48                     variable will contain the name of the procedure.
49
50       ::logger::appender::colorConsole  -level  level  -service  service ?op‐
51       tions...?
52              See ::logger::appender::colorConsole for a  description  of  the
53              applicable options.
54

BUGS, IDEAS, FEEDBACK

56       This  document,  and the package it describes, will undoubtedly contain
57       bugs and other problems.  Please report such in the category logger  of
58       the  Tcllib  Trackers  [http://core.tcl.tk/tcllib/reportlist].   Please
59       also report any ideas for enhancements you may have for either  package
60       and/or documentation.
61
62       When proposing code changes, please provide unified diffs, i.e the out‐
63       put of diff -u.
64
65       Note further that  attachments  are  strongly  preferred  over  inlined
66       patches.  Attachments  can  be  made  by  going to the Edit form of the
67       ticket immediately after its creation, and  then  using  the  left-most
68       button in the secondary navigation bar.
69

KEYWORDS

71       appender, logger
72

CATEGORY

74       Programming tools
75
77       Copyright (c) 2005 Aamer Akhter <aakhter@cisco.com>
78
79
80
81
82tcllib                                1.2                  logger::appender(n)
Impressum