[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Logging package for Common C++ / SocketPort connecting constructor
From: |
David Sugar |
Subject: |
Re: Logging package for Common C++ / SocketPort connecting constructor |
Date: |
Sat, 2 Nov 2002 09:27:15 -0500 (EST) |
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
>