Console Log in UI#90
Conversation
|
@jakobhellermann any update(? |
|
Thanks for the ping, I forgot about the PR. The UI looks good to me and it would be very cool to have this as a feature. I have just one question. Would it be possible to hook into |
that's an excellent suggestion, let me see how I could do it, at the moment I don't think it's possible since I implement a custom logger precisely for the management of these, so let me take a look at it and I'll come back. |
|
I have been checking and it is not possible, internally bevy does things that do not give me the control I need to replace the main logger 😞 |
|
https://discord.com/channels/691052431525675048/692648638823923732/1177575500818944032 looks like someone got tracing messages into egui to work |
@doonv got it working with their maybe we could combine the two as I love the idea of not only a log view but also being able to parse expressions and run custom commands from the console |
|
The tracing logging would be nice |
You can already render bevy_dev_console in any egui context (see https://github.com/doonv/bevy_dev_console/blob/98355f16b7d83ad0db983f2204426079780aa2ae/src/ui.rs#L106) so it shouldn't be that hard to implement it as a widget in bevy_editor_pls. (note: i don't know know how bevy_editor_pls works) |
They are similar but not the same, in this PR I was wanting to make an integration similar to the one Unity has for debugging messages, yours is an interaction with a shell I think, you would have to change a little the UI of your project if you want to keep the essence of this PR
You can see how I did this PR, it's not that complicated or at least that I remember. Note By the way: I'm sorry I missed the PR, at the time I was trying to integrate tracing and it is more complicated than log, maybe I could resume the PR now or if someone wants to collaborate, I am totally open to it. |
The only major differences between my console and Unity's console from I can see is that Unity has filtering and search for log messages, and my console has command parsing. |
|
fyi I've been working on a custom logging subscriber and window using tracing |
Features:
logcrateScreenshot
