public void Warn(string text) { if (LEVEL_WARN >= _logLevel) EventLog.WriteEntry(_sourceName, text, EventLogEntryType.Warning); }