Still need `var LogAPI` as the outer `var log` gets shadowed by the inner `var log`.