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 {