[Ns-bugs] [Bug 1082] LogComponentEnable() does not provide error handling

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Wed Mar 30 03:06:59 PDT 2011


http://www.nsnam.org/bugzilla/show_bug.cgi?id=1082

--- Comment #5 from Mathieu Lacage <mathieu.lacage at gmail.com> 2011-03-30 06:06:59 EDT ---
I disagree with tom on this one: I see no point in silently allowing an invalid
call to LogComponentEnable, and modularity is irrelevant here: NS_FATAL_ERROR
seems like an appropriate way to flag this.

However, I do agree with tom that we should make sure that the NS_LOG env var
parsing code should behave like LogComponentEnable.

-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Ns-bugs mailing list