ListenerParseLogMessageLine Method
Parses line stored in listener log.
Namespace: OddPrg.CommunicationAssembly: OddPrg.Communication.Listeners (in OddPrg.Communication.Listeners.dll) Version: 1.0.0.0 (1.0.0.0)
public static bool ParseLogMessageLine(
string line,
out DateTime timeStamp,
out string message,
out char levelPrefix
)
- line String
- Line to parse.
- timeStamp DateTime
- Timestamp of the message. If it cannot be parsed, DateTime.MinValue is returned.
- message String
- Log message.
- levelPrefix Char
- Message level: E = error, C = communication, P = protocol.
BooleanTrue if the line was successfully parsed, otherwise false.