PhantomJSDriverService LogFile Property WebDriver
Gets or sets the location of the log file to which PhantomJS will write log output. If this value is   or an empty string, the log output will be written to the console window.

Namespace: OpenQA.Selenium.PhantomJS
Assembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

public string LogFile { get; set; }
See Also