logging: properly interpret google-style LOG() levels

Fixes #244