Change to debug more possible long logs

pull/623/head
cruizba 2021-04-29 21:28:53 +02:00
parent 6fa2487ee0
commit b7da22180c
1 changed files with 2 additions and 2 deletions

View File

@ -91,9 +91,9 @@ export abstract class EventDispatcher {
onceAux(type: string, message: string, handler: (event: Event) => void): EventDispatcher { onceAux(type: string, message: string, handler: (event: Event) => void): EventDispatcher {
const arrowHandler = event => { const arrowHandler = event => {
if (event) { if (event) {
logger.info(message, event); logger.debug(message, event);
} else { } else {
logger.info(message); logger.debug(message);
} }
handler(event); handler(event);
// Remove handler from map after first and only execution // Remove handler from map after first and only execution