Alphashack.Graphdat.Agent.SqlTrace.DebugHelper.LogEntry C# (CSharp) Метод

LogEntry() публичный статический Метод

public static LogEntry ( System.Diagnostics.EventLog log, string message, EventLogEntryType type = EventLogEntryType.Information ) : void
log System.Diagnostics.EventLog
message string
type EventLogEntryType
Результат void
        public static void LogEntry(EventLog log, string message, EventLogEntryType type = EventLogEntryType.Information)
        {
            if(Properties.Settings.Default.Debug)
                log.WriteEntry(message, type);
        }
DebugHelper