amended logScreen API