single-arity log fn