Ticket UUID: | 1267636 | |||
Title: | logger: appender and formatter support | |||
Type: | Patch | Version: | None | |
Submitter: | aakhter | Created on: | 2005-08-24 02:32:36 | |
Subsystem: | log | Assigned To: | mic42 | |
Priority: | 7 High | Severity: | ||
Status: | Closed | Last Modified: | 2005-10-01 10:33:54 | |
Resolution: | Accepted | Closed By: | andreas_kupries | |
Closed on: | 2005-09-28 21:17:32 | |||
Description: |
The attached tar.gz file is for inclusion into the logger package. It introduces the concepts of appenders (console and colorConsole are included) and formatters to logger. There is no existing code in logger changed, and all additions use existing external apis. Additionally, the log procs generated try to resolve (hardcode) any pre-resolvable items to optimize log runtime. example of usage: % set log [logger::init testLog] ::logger::tree::testLog % logger::applyAppender -appender console -serviceCmd $log -conversionPattern {\[%d\] \[%c\] \[%M\] \[%p\] %m} % ${log}::error "this is error" [2005/08/22 10:14:13] [testLog] [global] [error] this is error I would welcome any review comments. doc attached in man and html format | |||
User Comments: |
aakhter added on 2005-10-01 10:33:54:
File Deleted - 146760: aakhter added on 2005-10-01 10:33:53: File Added - 150970: loggerExtension.html aakhter added on 2005-10-01 10:32:18: File Deleted - 146759: File Added - 150969: loggerExtension.tar.gz andreas_kupries added on 2005-09-29 04:17:30: Logged In: YES user_id=75003 Integrated with CVS head. some shuffling, utilities are in their own namespace, not "::logger". andreas_kupries added on 2005-08-24 10:16:51: Logged In: YES user_id=75003 Assigned to maintainer of logger package. aakhter added on 2005-08-24 09:33:58: File Added - 146761: loggerExtension.man aakhter added on 2005-08-24 09:33:13: File Added - 146760: loggerExtension.html aakhter added on 2005-08-24 09:32:39: File Added - 146759: loggerExtension.tar.gz |