[Ns-developers] [ns3] logging proposal
Mathieu Lacage
mathieu.lacage at sophia.inria.fr
Tue Apr 15 12:33:45 PDT 2008
gustavo,
Do you have any specific suggestion as to what to do with the duplicate
function name output when using the NS_LOG=ComponentName syntax ? The
"easy" solution would be to run my perl script to remove NS_LOG_FUNCTION
when it is paired with NS_LOG_PARAMS but, I have the gut feeling that
this is ugly. Ideas ? Or do you want me to proceed with this ?
regards,
Mathieu
On Mon, 2008-04-14 at 16:40 -0700, Mathieu Lacage wrote:
> On Mon, 2008-04-14 at 16:31 -0700, Mathieu Lacage wrote:
>
> > > 3. On unix systems, separating NS_LOG components by semicolon is a
> > > PITA, because it makes me keep quoting the NS_LOG value. It should be
> > > colon separated on unix systems, semicolon on win32.
> >
> > Using a different syntax on different platforms is just plain braindead:
> > just use a colon everywhere and be done with it.
>
> done.
>
> >
> > >
> > > 4. Timestamps logging should not need to be manually configured. I
> > > would propose one of two ways to accomplish that:
> > > a) enable timestamps for all log messages unconditionally;
> >
> > I would be fine with doing this for the NS_LOG=component syntax.
>
> done.
>
> Mathieu
>
More information about the Ns-developers
mailing list