Example #1
0
File: LogCount.cs Project: txdv/psi
 void Event(LogEvent @event)
 {
     int c;
     var key = @event.GetType().ToString();
     count.TryGetValue(key, out c);
     count[key] = c + 1;
 }
Example #2
0
 protected void OnLogEvent(LogEvent logEvent)
 {
     if (LogEvent != null) {
         LogEvent(logEvent);
     }
 }