danielpclark / rutie

“The Tie Between Ruby and Rust.”
MIT License
939 stars 62 forks source link

How to enable logging in Rust code called from Ruby? #182

Closed biot023 closed 9 months ago

biot023 commented 9 months ago

Hello -- is there a way to initialise logging in the code that Ruby is calling? I'm using RSpec and ActiveRecord to drive my tests, which is really nice in the main but becoming a real pain when I'm trying to debug any issues. Cheers, Doug.

biot023 commented 9 months ago

I'm going to leave this here as a testament to my own idiocy. println! -- just use fecking println! -- FFS.