[Top][All Lists]

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

Re: [GNUnet-developers] GNUNET_assert cannot specify component to log fr

From: Martin Schanzenbach
Subject: Re: [GNUnet-developers] GNUNET_assert cannot specify component to log from?
Date: Fri, 02 Dec 2016 10:16:59 +0100


On Fri, 2016-12-02 at 09:23 +0100, Markus Teich wrote:
> Heyho,
> I can't seem to find any macro in the GNUNET_assert/GNUNET_break
> family which
> allows me to specify the component used for logging (like with
> GNUNET_log_from).
> Is this intentional? Is every component expected to define their own
> assertion
> macros? Why do they exist in the first place then?

Hmm for what do you need it? Would GNUNET_assert_at not suffice for
I guess if you need it you can add it.

> Also why does the GNUNET_log family not always end the log message
> with '\n' as
> a convenience? I could not find a function GNUNET_log_resume or
> something
> similar which would use that as a feature and not print the log
> header again.

Good point. I would agree to such a change.

- Martin

> --Markus
> _______________________________________________
> GNUnet-developers mailing list
> address@hidden

Attachment: signature.asc
Description: This is a digitally signed message part

reply via email to

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