That's it, you can use logging as usual, if an exception happens it will be reported via configured root logger. You can also report exceptions via .exception() Save this to test.py and execute: from ...
the python multiline rule in https://github.com/GoogleCloudPlatform/fluent-plugin-detect-exceptions/blob/master/lib/fluent/plugin/exception_detector.rb means that the ...