public void Log(LogLevel level, string message) { HandlerItems.Add(new HandlerItem { Timestamp = Timestamp, Type = "LOG " + level, Message = message }); }
public void HandleError(Exception exception) { HandlerItems.Add(new HandlerItem { Timestamp = Timestamp, Type = "ERROR", Message = exception.Message }); }