moved log trigger before printWeb

This commit is contained in:
Djeeberjr 2023-04-01 03:27:17 +02:00
parent df39865c3d
commit bf378deea2

View File

@ -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<LogLine> {