21 lines
491 B
C#
21 lines
491 B
C#
namespace LCU.Api.Internal.MaidBotLib.Models
|
|
{
|
|
public class DebugEventLog
|
|
{
|
|
public const int DebugMaxLength = 3000;
|
|
|
|
public DebugEventLog()
|
|
{
|
|
}
|
|
|
|
public DebugEventLog(EventLog eventLog)
|
|
{
|
|
RawLog = eventLog.DebugData.Length > DebugMaxLength ? eventLog.DebugData.Substring(0, DebugMaxLength) : eventLog.DebugData;
|
|
}
|
|
|
|
public int DebugEventLogId { get; set; }
|
|
|
|
public string RawLog { get; set; }
|
|
}
|
|
}
|