/** * 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>(); }
public LinkedEntry(String description, severityType severity, IDictionary<String, Object> properties) : base(description, severity, properties) { }
public LinkedEntry(String description, severityType severity) : base(description, severity) { }
/** * 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>()) { }
/// <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)); }
/// <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; }
public MessageEntry(String description, severityType severity) : base(description, severity) { }