mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
8 lines
333 B
JavaScript
8 lines
333 B
JavaScript
// If using NSPR logging, create child log as "${NSPR_LOG_FILE}.child"
|
|
// - TODO: remove when bug 534764 is fixed
|
|
var env = Components.classes["@mozilla.org/process/environment;1"]
|
|
.getService(Components.interfaces.nsIEnvironment);
|
|
var log = env.get("NSPR_LOG_FILE");
|
|
if (log)
|
|
env.set("NSPR_LOG_FILE", log + ".child");
|