×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Divers in Other Languages - Question about Logging

  • Posts: 216
  • Thank you received: 120
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!
4 years 1 month ago #51005

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

  • Posts: 216
  • Thank you received: 120
I'm seeing the same when I specify the device name in the device attribute as well.
4 years 1 month ago #51006

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

  • Posts: 216
  • Thank you received: 120
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: Eric
4 years 1 month ago #51008

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

Time to create page: 0.555 seconds