amethyst / editor-core

Crate that allows an Amethyst game to communicate with an editor.
Other
44 stars 10 forks source link

Logging is broken #41

Closed randomPoison closed 5 years ago

randomPoison commented 5 years ago

One of the things that wasn't finished in #40 when I merged it was updating the setup for the logger. In SyncEditorBundle::new, a sender/receiver pair is created for sending log output, but the receiver half is immediately dropped. As a result, the first time a message is logged after hooking up the editor logger, we immediately get an error and a panic. I need to finish implementing the logger setup for the new bundle/systems so that we can send log output to the editor.