зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1340491 - ProfileAge shouldn't spam stdout/stderr by default, r=MattN
MozReview-Commit-ID: CysAlG1hMXL --HG-- extra : rebase_source : 06799419dbb0d0ff9671d200128e627e52bdcf59
This commit is contained in:
Родитель
09221118b6
Коммит
163a482778
|
@ -24,7 +24,10 @@ this.ProfileAge = function(profile, log) {
|
|||
if (!this.profilePath) {
|
||||
throw new Error("No profile directory.");
|
||||
}
|
||||
this._log = log || {"debug": function(s) { dump(s + "\n"); }};
|
||||
if (!log) {
|
||||
log = Log.repository.getLogger("Toolkit.ProfileAge");
|
||||
}
|
||||
this._log = log;
|
||||
}
|
||||
this.ProfileAge.prototype = {
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче