1logger::appender(n) Object Oriented logging facility logger::appender(n)
2
3
4
5______________________________________________________________________________
6
8 logger::appender - Collection of predefined appenders for logger
9
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
18 ?options...?
19
20_________________________________________________________________
21
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
51 ?options...?
52 See ::logger::appender::colorConsole for a description of the
53 applicable options.
54
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 SF Trackers [http://source‐
59 forge.net/tracker/?group_id=12883]. Please also report any ideas for
60 enhancements you may have for either package and/or documentation.
61
63 appender, logger
64
66 Copyright (c) 2005 Aamer Akhter <aakhter@cisco.com>
67
68
69
70
71log 1.2 logger::appender(n)