Enable logging to terminal with Piwik\Log class

I can’t figure out how to setup Piwik\Log to log into console/terminal. I need to add logging to the plugin I am working on, and I need it output to terminal as it’s the simplest way to see logs when running Matomo in Docker/Kubernetes/Faargate.
Any pointers on how to setup code logging in Matomo?