From bf378deea201966d1174dba4178c401df080f8f1 Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Sat, 1 Apr 2023 03:27:17 +0200 Subject: [PATCH] moved log trigger before printWeb --- src/kernel/log/Log.hx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/kernel/log/Log.hx b/src/kernel/log/Log.hx index 74c969c..b6501c4 100644 --- a/src/kernel/log/Log.hx +++ b/src/kernel/log/Log.hx @@ -53,12 +53,11 @@ class Log { if (logLines.length > MAX_LINES) { logLines.shift(); } + onLogTrigger.trigger(line); #if webconsole Debug.printWeb('[${Std.string(line.level)}][${line.origin}] ${line.message}'); #end - - onLogTrigger.trigger(line); } public function getLines():ReadOnlyArray {