Splitting log statements and using Api instances directly breaks logging.

See: https://google.github.io/flogger/best_practice#no-split