API Reference
Class
ServiceLogReader
Reads service log files from disk.
Inheritance
- Object
- ServiceLogReader
Methods
public static String[] ReadTail(String serviceExecutablePath, Int32 lines, String date) #Returns:
String[]Reads the last lines lines from a service log file.
Parameters
- serviceExecutablePath System.String
- Path to the service executable.
- lines System.Int32
- Number of lines to read.
- date System.String
- Optional date (yyyyMMdd). Defaults to today (UTC).
Returns
Log line tail.