ListenerLoadLog(String, String, DateTime, DateTime) Method

Loads specified log files and returns their contents.

Definition

Namespace: OddPrg.Communication
Assembly: OddPrg.Communication.Listeners (in OddPrg.Communication.Listeners.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public static string[] LoadLog(
	string logDir,
	string name,
	DateTime dtFrom,
	DateTime dtTo
)

Parameters

logDir  String
name  String
dtFrom  DateTime
Time to load log from. Loads whole days.
dtTo  DateTime

Return Value

String
Lines of requested logs. First item is first stored line, last item is the newest line.

See Also