On 5/22/15 15:51, Eric Rahm wrote:
I agree, we shouldn't make it harder to turn on logging. The easy solution is 
just to add a separate logger for verbose messages (if we choose not to add 
Verbose/Trace).

I don't know why we wouldn't just add a more verbose log level (Verbose, Trace... I don't care what we call it). The presence of "DEBUG + 1" in our code is evidence of a clear, actual need.

Making this a separate mechanism implies that the means of controlling these more verbose messages is going to change at some point, and it would be a change with no clear benefit. This means that, for example, web pages intended to facilitate bug reporting [1] will need to be updated to have variant instructions depending on the version of the browser; and some such instructions are virtually guaranteed to be missed.

____
[1] See, for example, <https://wiki.mozilla.org/Media/WebRTC/Logging>: "For frame-by-frame logging, use mediamanager:6"

--
Adam Roach
Principal Platform Engineer
a...@mozilla.com
+1 650 903 0800 x863
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to