Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Module submission Log::Fine
The following module was proposed for inclusion in the Module List:

modid:       Log::Fine
DSLIP:       cdpOb
description: Yet another logging framework
userid:      CFUHRMAN (Chris Fuhrman)
chapterid:   3 (Development_Support)
communities:

similar:
Log::Agent Log::Dispatch

rationale:

The goal behind Log::Fine is to provide fine-grained logging via
one or more "handles" (I'm debating on whether to call these
"channels" instead). Log::Fine is broken into 3 main components:

1) Log::Fine::Logger

This method is responsible for logging and dispatch. It provides
the "log" method.

2) Log::Fine::Handle

A handle is an output channel. Currently supported are output to
either STDERR or STDOUT, Files, Syslog, and Timestamped files. Note
I'm debating on whether or not to call these "channels" instead of
"handles"

3) Formatter

A formatter formats the output string. It's designed to be easily
sub-classed for custom logging.

enteredby:   CFUHRMAN (Chris Fuhrman)
enteredon:   Fri May  9 17:22:42 2008 GMT

The resulting entry would be:

Log::
::Fine            cdpOb Yet another logging framework                CFUHRMA
N


Thanks for registering,
--
The PAUSE

PS: The following links are only valid for module list maintainers:

Registration form with editing capabilities:
https://pause.perl.org/pause/authen...d_mod_preview=1
Immediate (one click) registration:
https://pause.perl.org/pause/authen..._mod_insertit=1

Report this thread to moderator Post Follow-up to this message
Old Post
Perl Authors Upload Server
05-10-08 12:46 AM


Re: Module submission Log::Fine
[[ This message was both posted and mailed: see
the "To," "Cc," and "Newsgroups" headers for details. ]]

In article <200805091722.m49HMgM1003395@pause.perl.org>, Perl Authors
Upload Server <upload@pause.perl.org> wrote:

> The following module was proposed for inclusion in the Module List:
>
>   modid:       Log::Fine
>   DSLIP:       cdpOb
>   description: Yet another logging framework
>   userid:      CFUHRMAN (Chris Fuhrman)
>   chapterid:   3 (Development_Support)
>   communities:
>
>   similar:
>     Log::Agent Log::Dispatch
>
>   rationale:
>
>     The goal behind Log::Fine is to provide fine-grained logging via
>     one or more "handles"

This sounds a lot like Log::Log4perl and Log::Dispatch. Is there some
feature that sets your module apart from the others? Perhaps the
distinguishing feature could go in the name.  :)

--
brian d foy (one of many PAUSE admins), http://pause.perl.org
archives at http://www.xray.mpe.mpg.de/mailing-lists/modules
please send all messages back to modules@perl.org

Report this thread to moderator Post Follow-up to this message
Old Post
brian d foy
05-10-08 10:20 AM


Re: Module submission Log::Fine
Howdy,

On May 10, 2008, at 1:58 AM, brian d foy wrote:

> [[ This message was both posted and mailed: see
>   the "To," "Cc," and "Newsgroups" headers for details. ]]
>
>
> This sounds a lot like Log::Log4perl and Log::Dispatch. Is there some
> feature that sets your module apart from the others? Perhaps the
> distinguishing feature could go in the name.  :)
>

There are a few features that I can think of:

1) The ability to specify the log level via a bit mask.  This allows
for complex and fine-grained logging via multiple handles.

2) Formatting of log output is completely customizable.  You specify a
formatting object that tells Log::Fine how to print the message (no
patterns or weird callbacks).

3) In the event you wish to output information from caller(), you have
the option of setting a skip level so that you can log the correct
invoking Package/Method/Subroutine.  This allows a developer to wrap
calls to log while still producing the correct invoking method.

4) No bloody config file. ;)

I'm open to suggestions as to a proper name.

/Chris.


> --
> brian d foy (one of many PAUSE admins), http://pause.perl.org
> archives at http://www.xray.mpe.mpg.de/mailing-lists/modules
> please send all messages back to modules@perl.org

--
Chris Fuhrman
cfuhrman@panix.com







Report this thread to moderator Post Follow-up to this message
Old Post
Chris Fuhrman
05-16-08 01:34 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Modules archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 01:42 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.