Home Projects Jobs Clientele Contact


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

Re: Log class problems

Alexey Parshin wrote:

>Setting the facility currently is implemented in constructor (it isn't
>in CVS yet). I don't really see the need to change it on the fly.
Right. My point is - whatever is done with logging internally,
external API must stay the same.

That is (one of the reasons) why there is clear separation between
formatting classes and output classes. Only valid reason for extending
stream classes is when there are manipulators that cannot be written
on base class.

Why is it so hard for you to do The Right Thing (TM)?

>As for EventLog - it may be an idea. At least, it's something like
>syslog api. But I need to read that API first before stating

Ilya A. Volynets-Evenbakh
Total Knowledge. CTO

Authoright © Total Knowledge: 2001-2008