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
You need to log in before you can comment on or make changes to this bug.