Open Bug 320480 Opened 19 years ago Updated 2 years ago

Provide PR_InitLogModule

Categories

(NSPR :: NSPR, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: darin.moz, Unassigned)

Details

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.
Severity: normal → enhancement
OS: Linux → All
Hardware: PC → All
QA Contact: wtchang → nspr
Severity: normal → S3

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: wtc → nobody
You need to log in before you can comment on or make changes to this bug.