Replies: 1 comment
-
This appears to be a bug in either GLib or gtk-rs, see #1538 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
cross-posting from https://discourse.gnome.org/t/glibloggerformat-structured-breaks-g-messages-debug/24465:
I'm trying to use GLib logging in Rust. As far as I understand, I should be able to use
G_MESSAGES_DEBUG
with a specific log domain to see all info and debug messages of my own application. As an example:Now I can pass
G_MESSAGES_DEBUG=LOGTEST
to make the debug and info messages appear:However, if I change
glib::GlibLoggerFormat::Plain
toglib::GlibLoggerFormat::Structured
:Then I can no longer make debug and info messages appear:
Is this expected behaviour?
Cheers,
Basti
Beta Was this translation helpful? Give feedback.
All reactions