-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Add a custom logging demo #1242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
43816e7
to
e8995bf
Compare
e8995bf
to
240d505
Compare
240d505
to
ab1f914
Compare
I guess deferring the append to the main thread would be the best option in this case, ideally with some comment explaining the thread-safety gotcha. EDIT: It might be a good idea to add a |
That makes sense, but I'm not sure how to do it in GDScript. Is it just a matter of using |
Yep! |
This demo showcases a custom logger implementation, which runs in parallel to the built-in logging facilities (including file logging). The custom logger displays all messages printed by the engine in an in-game console.
ab1f914
to
fe5bba8
Compare
|
Logger
and ability to print and log script backtraces godot#91006.This demo showcases a custom logger implementation, which runs in parallel to the built-in logging facilities (including file logging). The custom logger displays all messages printed by the engine in an in-game console.
Preview