no method warning on logger