using Matrix42.Services.Description.Contracts;
using System;

namespace C4IT.F4SDM
{
    [DisplayName(Name = "Log Entry", Type = DisplayNameTypes.Static)]
    public class cM42LogEntry
    {
        public string DisplayName
        {
            get => string.Format("Line {0}", LineNumber.ToString());
        }
        public DateTime date { get; set; }
        public string ProcessId { get; set; }
        public string logLvl { get; set; }
        public string Theme { get; set; }
        public string Message { get; set; }
        [Identifier]
        public int LineNumber { get; internal set; }
    }
}
