Skip to content

Commit 1e0bfd8

Browse files
committed
Detect fabric client logs from dev environments
1 parent 0adcde5 commit 1e0bfd8

4 files changed

Lines changed: 1547 additions & 2 deletions

File tree

src/Log/Minecraft/Vanilla/Fabric/FabricClientLog.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public static function getDetectors(): array
1515
return [
1616
(new MultiPatternDetector())
1717
->addPattern('#^\[[\d:]+\] \[main\/INFO\](?:\:| \(FabricLoader/GameProvider\)) Loading Minecraft [^ \n]+ with Fabric Loader [^ \n]+#')
18-
->addPattern('#^\[[\d:]+\] \[(?:Render thread|main)\/INFO\](?:\:| \(Minecraft\)) Setting user: \w+#m')
18+
->addPattern('#^\[[\d:]+\] \[(?:Render thread|main)\/INFO\](?:\:| \((?:net\.minecraft\.client\.)?Minecraft\)) Setting user: \w+#m')
1919
];
2020
}
21-
}
21+
}

0 commit comments

Comments
 (0)