[Plugin Support] The logger of some Files is set too early and thus is missing the entity name
12rcu opened this issue · comments
Describe the bug
When writing a plugin a refrence to the build files is sometime established bevore the entity name is know and thus the Logger is set in the build files withou the entity name, which makes debugging harder
Version
Monstera: 0.2.3
Minecraft: 1.20.30
To Reproduce
Steps to reproduce the behavior:
- Create a reference on the
BehEntity
class - Set the logger context to a sample Entity name
- add a component group that isn't called with a event
- build the addon
Expected behavior
The logger should adapt that the name is given only at a later time and print the name of the entity with the log messages.