Use print_logs instead of fprintf when possible

4 jobs for add_log_level in 2 minutes and 13 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Build
passed #355638
amd64 debian
build-debian

00:00:41

passed #355639
macos
build-macos

00:00:56

passed #355641
win32 amd64 debian
build-win32

00:01:50

passed #355640
win64 amd64 debian
build-win64

00:01:45