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