public void Error(string text) { if (LEVEL_ERROR >= _logLevel) EventLog.WriteEntry(_sourceName, text, EventLogEntryType.Error ); }