using System;
namespace Unity.Cloud.UserReporting
{
///
/// Represents a user report event.
///
public struct UserReportEvent
{
#region Properties
///
/// Gets or sets the exception.
///
public SerializableException Exception { get; set; }
///
/// Gets or sets the frame number.
///
public int FrameNumber { get; set; }
///
/// Gets or sets the full message.
///
public string FullMessage
{
get { return string.Format("{0}{1}{2}", this.Message, Environment.NewLine, this.StackTrace); }
}
///
/// Gets or sets the level.
///
public UserReportEventLevel Level { get; set; }
///
/// Gets or sets the message.
///
public string Message { get; set; }
///
/// Gets or sets the stack trace.
///
public string StackTrace { get; set; }
///
/// Gets or sets the timestamp.
///
public DateTime Timestamp { get; set; }
#endregion
}
}