Replace console.log with console.debug

This commit is contained in:
Raimund Schlüßler 2018-11-07 09:17:36 +01:00
parent 28bdeb1912
commit de10ccae69
No known key found for this signature in database
GPG key ID: 036FA7EB1A599178
3 changed files with 15 additions and 15 deletions

View file

@ -157,7 +157,7 @@ export default {
},
addTask: function() {
console.log('Add task with name ' + this.newTaskName + ' to calendar ' + this.calendar.displayName)
console.debug('Add task with name ' + this.newTaskName + ' to calendar ' + this.calendar.displayName)
this.newTaskName = ''
}
}

View file

@ -469,36 +469,36 @@ export default {
},
setProperty: function(type, value) {
console.log('Set property "' + type + '" to "' + value)
console.debug('Set property "' + type + '" to "' + value)
this.edit = ''
},
setPropertyTemporarily: function(type, value) {
console.log('Set property "' + type + '" temporarily to "' + value)
console.debug('Set property "' + type + '" temporarily to "' + value)
},
setStartDate: function(date) {
console.log('Set start date to ' + date)
console.debug('Set start date to ' + date)
},
setStartTime: function(time) {
console.log('Set start time to ' + time)
console.debug('Set start time to ' + time)
},
setDueDate: function(date) {
console.log('Set due date to ' + date)
console.debug('Set due date to ' + date)
},
setDueTime: function(time) {
console.log('Set due time to ' + time)
console.debug('Set due time to ' + time)
},
updateCategories: function(category) {
console.log(category)
console.debug(category)
},
addCategory: function(category) {
console.log(category)
console.debug(category)
}
}
)

View file

@ -106,7 +106,7 @@ const mutations = {
* @param {string} taskId The task id
*/
deleteTask(state, taskId) {
console.log('Delete task with uri ' + taskId)
console.debug('Delete task with uri ' + taskId)
},
/**
@ -116,7 +116,7 @@ const mutations = {
* @param {string} taskId The task id
*/
toggleCompleted(state, taskId) {
console.log('Toggle completed state of task with uri ' + taskId)
console.debug('Toggle completed state of task with uri ' + taskId)
},
/**
@ -126,7 +126,7 @@ const mutations = {
* @param {string} taskId The task id
*/
toggleStarred(state, taskId) {
console.log('Toggle starred state of task with uri ' + taskId)
console.debug('Toggle starred state of task with uri ' + taskId)
},
/**
@ -136,7 +136,7 @@ const mutations = {
* @param {string} taskId The task id
*/
deleteDueDate(state, taskId) {
console.log('Deletes the due date of task with uri ' + taskId)
console.debug('Deletes the due date of task with uri ' + taskId)
},
/**
@ -146,7 +146,7 @@ const mutations = {
* @param {string} taskId The task id
*/
deleteStartDate(state, taskId) {
console.log('Deletes the start date of task with uri ' + taskId)
console.debug('Deletes the start date of task with uri ' + taskId)
},
/**
@ -156,7 +156,7 @@ const mutations = {
* @param {string} taskId The task id
*/
toggleAllDay(state, taskId) {
console.log('Toggles the allday state of task with uri ' + taskId)
console.debug('Toggles the allday state of task with uri ' + taskId)
}
}