Example #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>();
 }
Example #2
0
 public LinkedEntry(String description, severityType severity, IDictionary<String, Object> properties) : base(description, severity, properties) { }
Example #3
0
 public LinkedEntry(String description, severityType severity) : base(description, severity) { }
Example #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>()) { }
Example #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));
 }
Example #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));
        }
Example #7
0
 public ExceptionEntry(String description, severityType severity, IDictionary<String, Object> properties, Exception exception) : base(description, severity, properties) {
     Exception = exception;
 }
Example #8
0
 public ExceptionEntry(String description, severityType severity, Exception exception) : base(description, severity) {
     Exception = exception;
 }
Example #9
0
 public MessageEntry(String description, severityType severity) : base(description, severity) { }