Replies: 4 comments 1 reply
-
Does you $SD.logMessage() function look like this:
|
Beta Was this translation helpful? Give feedback.
-
I tried calling it on the top level, which seems to be the issue. But there are no requirements documented. |
Beta Was this translation helpful? Give feedback.
-
Hi @b263, The Stream Deck application writes the log files, so you have to ensure that the plugin is first connected to Stream Deck. You can use the This is subject to change with the release of our new Node.js SDK and CLI tool, which are currently in beta and can be found here: https://www.npmjs.com/package/@elgato/cli Note that the docs are not yet updated with information related to the beta tools. |
Beta Was this translation helpful? Give feedback.
-
I can confirm that the documentation for Mac is indeed incorrect. I spent way too long looking for @ChekTek, can someone please update the documentation on https://docs.elgato.com/sdk/plugins/events-sent#logmessage to be the correct path? The path should be |
Beta Was this translation helpful? Give feedback.
-
I'm using Stream Deck version 6.5.0 on macOS.
I want to write to the log file with the JavaScript SDK and $SD.logMessage().
A log file is created with my plugins ID, but it remains empty.
Also a note on the documentation:
The log directory stated in https://docs.elgato.com/sdk/plugins/events-sent#logmessage is wrong. The correct path is:
~/Library/Logs/ElgatoStreamDeck/
.Beta Was this translation helpful? Give feedback.
All reactions