Re: [dev][PATCH][quark] Clean up the log-facility [fixed-PATCH]
On Mon, Mar 03, 2014 at 09:53:20PM +0100, FRIGN wrote:
> On Mon, 3 Mar 2014 21:16:46 +0000
> sin <sin_AT_2f30.org> wrote:
>
> > Why can't we not use err(), warn(), etc. from err.h?
>
> It's not necessary and introduces more problems, as it forces a certain
> format on the error-messages, always beginning with "quark:".
> I'm all for using built-in functions, but in this case, it's not for
> the better.
I don't agree. At the very least have a look at eprintf() from the
'The practice of programming'. We are using similar functions in sbase
and ubase.
I do not like that the type of log is passed in as an argument, it should
just be a separate function.
Received on Tue Mar 04 2014 - 00:28:13 CET
This archive was generated by hypermail 2.3.0
: Tue Mar 04 2014 - 00:36:05 CET