amethyst / editor-core

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

Send log output to editor #6

Closed randomPoison closed 6 years ago

randomPoison commented 6 years ago

It would be useful if users could also send log files to their editor, that way the editor can provide a more interactive view for searching and filtering log output.

This should be setup as a logger implementation for the log crate. It should export log lines in an easily parsed format (e.g. JSON structured), and should send logs using the same connection that the editor uses for other data. It should not attempt to filter log output from within the game process, instead allowing all filtering and processing of log data to happen within the editor process.