decline-cookies / anvil-unity-dots

Unity DOTS and ECS specific additions and extensions to Anvil
MIT License
4 stars 1 forks source link

System logger world context #253

Closed mbaker3 closed 1 year ago

mbaker3 commented 1 year ago

Add world name prefix to AbstractAnvilSystemBase.Logger.

Tag Alongs

What is the current behaviour?

When there are multiple worlds the developer must include the world name themselves or guess which world a system was a part of when emitting the log message.

What is the new behaviour?

All log messages emitted from AbstractAnvilSystemBase instances automatically include the world name. Ex: "(thread: 5) (Default World) [MySystem.OnUpdate] My message"

What issues does this resolve?

What PRs does this depend on?

Does this introduce a breaking change?