bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Logging package for Common C++ / SocketPort connecting constructor


From: Prochnow, Christian
Subject: Re: Logging package for Common C++ / SocketPort connecting constructor
Date: Sat, 2 Nov 2002 15:54:34 +0100
User-agent: KMail/1.4.3

May i post the cclog source-tarball on the list ?

Greetings,
Christian

> On Sat, 2 Nov 2002, Prochnow, Christian wrote:
> > Hi List,
> >
> > i have to things, first thing is:
> >
> > I've done a logging package for Common C++ 2 that's more powerfull than
> > the sLog class provided, and i want to contribute it to the Common C++
> > Libraries as "cclog".
> > The logging class supports multiple logging targets which can also be
> > dynamically loaded from plugins. Some first Logtarget-Plugins for logging
> > to console, files, oracle and mysql databases are included in the
> > package.
>
> Hmm...this could be very interesting.  Perhaps it can in some way be
> merged into or extended from the existing slog class?  I just don't like
> the idea of having two completely different logging systems :).
>
> > second thing:
> >
> > For a network protocol daemon i needed to patch the SocketPort class that
> > it can do non-blocking outbound tcp connections - but i did'nt find a
> > nice name for it cause of the udp constructor.
> > Any suggestions how this should be done in the preffered Common C++ way?
> > 1. Solution is modifiying the "UDP" constructor that it takes additional
> > arguments.
>
> Why not simply have an alternate constructor?
>
> > 2. Solution is to provide a static function that returns a connecting
> > SocketPort object.
> >
> >
> > Regards,
> >
> > Christian Prochnow
> >
> >
> >
> > _______________________________________________
> > Bug-commoncpp mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/bug-commoncpp





reply via email to

[Prev in Thread] Current Thread [Next in Thread]