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:
Gijs Kruitbosch 2017-02-20 18:07:32 +00:00
Родитель 09221118b6
Коммит 163a482778
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -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 = {
/**