moved log trigger before printWeb
This commit is contained in:
parent
df39865c3d
commit
bf378deea2
@ -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> {
|
||||
|
Loading…
Reference in New Issue
Block a user