DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
InformationEvent.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 
4 namespace Deveel.Data.Diagnostics {
5  public class InformationEvent : Event {
6  public InformationEvent(string message, InformationLevel level) {
7  Message = message;
8  Level = level;
9  }
10 
11  public string Message { get; private set; }
12 
13  public InformationLevel Level { get; private set; }
14 
15  protected override void GetEventData(Dictionary<string, object> data) {
16  data["info.message"] = Message;
17  data["info.level"] = Level;
18  }
19  }
20 }
override void GetEventData(Dictionary< string, object > data)
InformationEvent(string message, InformationLevel level)