private onConnected ( object sender, |
||
sender | object | |
e | ||
Résultat | void |
void onConnected(object sender, EventArgs e)
{
if (_history.Count > 0) {
Send(LogLevel.Debug, "SocketAppenderBase: Flush history - - - - - - - - - - - - - - - - - - - -");
foreach (HistoryItem item in _history) {
Send(item.logLevel, item.message);
}
Send(LogLevel.Debug, "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -");
_history.Clear();
}
}