Bug 1171849 Let consumers override mozlog default formatter options, r=chmanchester

This commit is contained in:
James Graham
2015-06-05 10:37:15 +01:00
parent 85d3773dbf
commit ced8b826cd
2 changed files with 13 additions and 7 deletions

View File

@@ -469,10 +469,10 @@ class MachCommands(MachCommandBase):
driver = self._spawn(BuildDriver)
driver.install_tests(remove=False)
structured.commandline.formatter_option_defaults['verbose'] = True
params['log'] = structured.commandline.setup_logging("XPCShellTests",
params,
{"mach": sys.stdout})
{"mach": sys.stdout},
{"verbose": True})
if conditions.is_android(self):
xpcshell = self._spawn(AndroidXPCShellRunner)