mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
Issue #991 Part 6: Services
This commit is contained in:
parent
f1d39b624e
commit
c54c6d3bd2
3 changed files with 3 additions and 15 deletions
|
|
@ -125,12 +125,7 @@ this.Status = {
|
|||
resetSync: function resetSync() {
|
||||
// Logger setup.
|
||||
let logPref = PREFS_BRANCH + "log.logger.status";
|
||||
let logLevel = "Trace";
|
||||
try {
|
||||
logLevel = Services.prefs.getCharPref(logPref);
|
||||
} catch (ex) {
|
||||
// Use default.
|
||||
}
|
||||
let logLevel = Services.prefs.getCharPref(logPref, "Trace");
|
||||
this._log.level = Log.Level[logLevel];
|
||||
|
||||
this._log.info("Resetting Status.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue