Exemplo n.º 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);
            }
        }
Exemplo n.º 2
0
        public static void Log(LogEntryType logEntryType, string message)
        {
            if (LogEventLog)
            {
                LoggerEventLog.Log(logEntryType, message);
            }

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