Open
Bug 801749
Opened 13 years ago
Updated 3 years ago
Move std::iostream-based NSPR logging media/mtransport/logging.h to XPCOM
Categories
(Core :: XPCOM, enhancement)
Core
XPCOM
Tracking
()
NEW
People
(Reporter: briansmith, Unassigned)
Details
+++ This bug was initially created as a clone of Bug #801519 +++
EKR write an iostream wrapper around NSPR logging that allows us to avoid the problems with format masks and PR_LOG.
We should:
1. Move logging.h to xpcom/base
2. Make the main functions non-inline, and move them to xpcom/base/logging.cpp
3. Remove #includes of NSPR header files from logging.h
4. Replace all uses of PR_LOG with logging.h-based logging.
| Reporter | ||
Comment 1•13 years ago
|
||
5. Remove #includes of prlog.h.
We might also consider switching uses of prprf.h (PR_Printf and friends) to iostream-based formatting, perhaps in a separate bug.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•