×
INDI Library v1.8.4 Released

Minor bugfix release with some highlights:

Divers in Other Languages - Question about Logging

1 week 5 days ago
rickbassham
Fresh Boarder
Fresh Boarder
Posts: 6
More
Topic Author
Divers in Other Languages - Question about Logging #51005
I'm in the process of writing a framework to allow writing drivers in Golang. The framework I'm writing doesn't have any dependencies on the indi libraries, it just communicates over stdin and stdout via the xml messages defined. I've managed to get most functionality working, with the exception of logging. I've found that when I send a
<message device="" message="test" />
from the driver it creates a popup when using the Device Manager in KStars. But I can't get any log messages to show in the text output at the bottom of the device screen. What is the correct way to get log messages to show there? Do I need to have certain properties enabled on my device in the driver to make it work? I'm not looking for Any help would be appreciated as I dig into this.

Thanks for the great software!

Please Log in or Create an account to join the conversation.

1 week 5 days ago
rickbassham
Fresh Boarder
Fresh Boarder
Posts: 6
More
Topic Author
Divers in Other Languages - Question about Logging #51006
I'm seeing the same when I specify the device name in the device attribute as well.

Please Log in or Create an account to join the conversation.

1 week 5 days ago
rickbassham
Fresh Boarder
Fresh Boarder
Posts: 6
More
Topic Author
Divers in Other Languages - Question about Logging #51008
Ok, never mind. It seems to be working fine now when I specify the device name. Not sure what I was doing wrong before, but it works.
The following user(s) said Thank You TallFurryMan

Please Log in or Create an account to join the conversation.

Time to create page: 0.449 seconds