amethyst / editor-core

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

Add logger which sends output to the editor #11

Closed mvesterli closed 6 years ago

mvesterli commented 6 years ago

This is done by exposing an EditorConnection which can be used to send arbitrary messages to the editor.

Currently the user will have to replace the builtin amethyst logger to use this logger. I'm thinking that this should be solved in the main repo by making the amethyst logger support chaining to custom loggers.

Resolves #6

randomPoison commented 6 years ago

This is great! Thanks for putting this together 😁 I'm excited about the addition of "messages", it seems like a good idea to have support for sending arbitrary additional data to the editor :+1: