1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-05 22:57:29 +02:00

Bug fixes and integration tests for cli

This commit is contained in:
Laurent Cozic
2017-07-11 18:41:18 +00:00
parent 8c5f0622a2
commit d1fecfde57
6 changed files with 194 additions and 4 deletions

View File

@@ -99,7 +99,7 @@ class Logger {
for (let i = 0; i < this.targets_.length; i++) {
let target = this.targets_[i];
if (target.type == 'console') {
let fn = 'debug';
let fn = 'log';
if (level == Logger.LEVEL_ERROR) fn = 'error';
if (level == Logger.LEVEL_WARN) fn = 'warn';
if (level == Logger.LEVEL_INFO) fn = 'info';