Ableton / link

Ableton Link
Other
1.09k stars 149 forks source link

Access debug logs #96

Closed bootsie123 closed 3 years ago

bootsie123 commented 3 years ago

Hi! I noticed there is a log class utilized by many of the different files. I'm rather new to C++ and was wondering if there was a way I could tap into this data stream and print it to the console. Thanks!

fgo-ableton commented 3 years ago

You can enable logging by changing the log being injected in https://github.com/Ableton/link/blob/master/include/ableton/platforms/Config.hpp to StdLog. However, this is meant to be used when working on the Link code itself. It won't be of much use when working code using the Link library.

bootsie123 commented 3 years ago

Gotcha. Thanks!