Listener.LoadLog(String, String, DateTime, DateTime) Method
Loads specified log files and returns their contents.
Namespace: OddPrg.CommunicationAssembly: OddPrg.Communication.Listeners (in OddPrg.Communication.Listeners.dll) Version: 1.0.0.0 (1.0.0.0)
public static string[] LoadLog(
string logDir,
string name,
DateTime dtFrom,
DateTime dtTo
)
- logDir String
- name String
- dtFrom DateTime
- Time to load log from. Loads whole days.
- dtTo DateTime
String[]Lines of requested logs. First item is first stored line, last item is the newest line.