Example #1
0
        public static void Log(LogEntryType logEntryType, string message, Exception ea, string _loggerContext)
        {
            if (LogEventLog)
            {
                LoggerEventLog.Log(logEntryType, message, ea, _loggerContext);
            }

            if (LogFileLog)
            {
                LoggerFileLog.Log(logEntryType, message, ea, _loggerContext);
            }
        }
Example #2
0
        public static void Log(LogEntryType logEntryType, string message)
        {
            if (LogEventLog)
            {
                LoggerEventLog.Log(logEntryType, message);
            }

            if (LogFileLog)
            {
                LoggerFileLog.Log(logEntryType, message);
            }
        }