﻿namespace Kuki.Bss.Core.Logging
{
    using System;
    using System.Diagnostics;

    using Kuki.Bss.Core.Logging.Formatter;
    
    [DebuggerStepThrough()]
    public class LogMessage
    {
        public DateTime TimeOfDay { get; set; }
        public LogLevel LogLevel { get; set; }
        public string Message { get; set; }
        public string CallingClass { get; set; }
        public string CallingMethod { get; set; }
        public int LineNumber { get; set; }
        
        public override string ToString()
        {
            return new StandardFormatter().Apply(this);
        }
    }
}
