wrap calls to logging framework in one method