Exemple #1
0
        protected override void WriteInternal(LogLevel level, object message, Exception exception)
        {
            var entry = new EventSourceLogEntry(level, LoggerName, message, exception);

            Action <string, string, EventSourceLogEntry> write = GetWriteAction(level);

            write(LoggerName, entry.Message, entry);
        }
        protected override void WriteInternal(LogLevel level, object message, Exception exception)
        {
            var entry = new EventSourceLogEntry(level, LoggerName, message, exception);

            Action<string, string, EventSourceLogEntry> write = GetWriteAction(level);
            write(LoggerName, entry.Message, entry);
        }
Exemple #3
0
 public abstract void Trace(string loggerName, string message, EventSourceLogEntry entry);
 public abstract void Trace(string loggerName, string message, EventSourceLogEntry entry);