using System;
namespace Flyinsono.Client.Test
{
public class LogEntity
{
///
/// Gets or sets the default Id for the log.
///
public string Id { get; set; }
///
/// Gets or sets the time of this log.
///
public DateTime Time { get; set; }
///
/// Who is log
///
public string Owner { get; set; }
///
/// Gets or sets the of this log.
///
public LogLevel Level { get; set; }
///
/// Gets or sets the content of this log.
///
public string Message { get; set; }
public LogEntity()
{
}
public LogEntity(DateTime time, LogLevel level, string message)
{
Id = Guid.NewGuid().ToString();
Time = time;
Level = level;
Message = message;
}
}
}