make logger method return the native logger method result.