TestimoX

API Reference

Class

ServiceLogReader

Namespace TestimoX.Services
Assembly TestimoX
Modifiers static

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 requiredposition: 0
Path to the service executable.
lines System.Int32 requiredposition: 1
Number of lines to read.
date System.String requiredposition: 2
Optional date (yyyyMMdd). Defaults to today (UTC).

Returns

Log line tail.