Status

NSPR
NSPR
--
enhancement
13 years ago
12 years ago

People

(Reporter: Darin Fisher, Assigned: Wan-Teh Chang)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

13 years ago
It is a shame that NSPR logging forces the PRLogModuleInfo structure to be heap allocated by PR_LogModuleInfo.  It'd be nice if NSPR defined a PR_InitLogModule that would basically just initialize the fields of the PRLogModuleInfo object without requiring any heap allocation.  The advantage of doing this is that we could use PR_LOG on a PRLogModuleInfo without having to null check the log module.

NOTE: NSPR logging is being used in production code.
(Reporter)

Updated

13 years ago
Severity: normal → enhancement
OS: Linux → All
Hardware: PC → All
QA Contact: wtchang → nspr
You need to log in before you can comment on or make changes to this bug.