using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.Logging
{
///
/// Represents a base class for log items.
///
public abstract class LogItemBase
{
///
/// Gets or sets the caller method adding the exception.
///
public String CallerMethodName { get; set; }
///
/// Gets or sets the caller file.
///
public String CallerFile { get; set; }
///
/// Gets or sets the caller line number.
///
public int CallerLineNumber { get; set; }
///
/// Gets or sets the DateTime for the log.
///
public DateTime TimeStamp { get; set; }
///
/// Gets or sets the log category.
///
public LogCategory Category { get; set; }
///
/// Gets the log message.
///
///
public abstract String GetMessage();
///
/// Returns a formatted string of the log item.
///
public abstract override String ToString();
}
}