Beispiel #1
0
 /**
  * Create a new entry
  * @param description the entry description
  * @param severity the entry severity enum value
  * @param properties the entry properties
 */
 public Entry(String description, severityType severity, IDictionary<String, Object> properties)
 {
     this.Description = description;
     this.Severity = severity;
     this.Properties = properties;
     this.Entries = new List<Entry>();
 }
Beispiel #2
0
 public LinkedEntry(String description, severityType severity, IDictionary<String, Object> properties) : base(description, severity, properties) { }
Beispiel #3
0
 public LinkedEntry(String description, severityType severity) : base(description, severity) { }
Beispiel #4
0
 /**
  * Create a new entry
  *  @param  description the entry description
  *  @param  severity the entry severity enum value
 */
 public Entry(String description, severityType severity) : this(description, severity, new Dictionary<String, Object>()) { }
Beispiel #5
0
 /// <summary>Start a new entry context. Every entry added after this will be added as sub entry of this one.</summary>
 /// <param name="description">the new entry description</param>
 /// <param name="severity">the new entry severity type</param>
 /// <param name="properties">the new entry properties map</param>
 public Entry BeginEntry(String description, severityType severity, IDictionary<String, Object> properties)
 {
     return BeginEntry(new Entry(description, severity, properties));
 }
Beispiel #6
0
        /// <summary>Start a new entry context. Every entry added after this will be added as sub entry of this one.</summary>
        /// <param name="description">the new entry description</param>
        /// <param name="severity">the new entry severity type</param>

        public Entry BeginEntry(String description, severityType severity)
        {
            return BeginEntry(new Entry(description, severity));
        }
 public ExceptionEntry(String description, severityType severity, IDictionary<String, Object> properties, Exception exception) : base(description, severity, properties) {
     Exception = exception;
 }
 public ExceptionEntry(String description, severityType severity, Exception exception) : base(description, severity) {
     Exception = exception;
 }
Beispiel #9
0
 public MessageEntry(String description, severityType severity) : base(description, severity) { }