private IGrandOutputSink ( |
||
logEvent | ||
parrallelCall | bool | |
return | void |
void IGrandOutputSink.Handle( GrandOutputEventInfo logEvent, bool parrallelCall )
{
var sinks = _sinks;
if( sinks != null )
{
foreach( var l in sinks )
{
try
{
l.Handle( logEvent, parrallelCall );
}
catch( Exception exCall )
{
ActivityMonitor.CriticalErrorCollector.Add( exCall, l.GetType().FullName );
Util.InterlockedRemove( ref _sinks, l );
}
}
}
}
}