Skip to content
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

Add logging #32

Closed
3 tasks done
GeekyEggo opened this issue Mar 29, 2021 · 1 comment
Closed
3 tasks done

Add logging #32

GeekyEggo opened this issue Mar 29, 2021 · 1 comment
Labels
⭐ enhancement An enhancement or new feature!
Milestone

Comments

@GeekyEggo
Copy link
Owner

GeekyEggo commented Mar 29, 2021

https://www.reddit.com/r/StreamDeckSDK/comments/mfxf0i/is_there_a_way_for_a_plugin_to_intercept/

It would be useful to have basic logging for the following events;

  • Audio clip played.
    • The file location.
    • The device it was played on.
    • The volume.
  • Audio clip saved.
    • The file location.
    • The device the audio was clipped for.
    • The duration.
  • Recording saved.
    • The file location.
    • The device the recording was for.
    • The duration.

All events should include a date time stamp.

@GeekyEggo
Copy link
Owner Author

GeekyEggo commented Sep 8, 2021

Trace logging has been added for;

  • Play Audio
  • Record Audio
  • Clip Audio

To enable trace logging;

  1. Within %APPDATA%\Elgato\StreamDeck\Plugins\com.geekyeggo.sounddeck.sdPlugin\appsettings.json.
  2. Setup Logging:LogLevel:Default to Trace.

Logs are saved within the local plugin folder, under the logs folder;

  • %APPDATA%\Elgato\StreamDeck\Plugins\com.geekyeggo.sounddeck.sdPlugin\logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐ enhancement An enhancement or new feature!
Projects
None yet
Development

No branches or pull requests

1 participant