Files
monorepo/LCU.API.Internal.MaidBotApi/LCU.Api.Internal.MaidBotLib/Models/DebugEventLog.cs
T
2026-03-11 13:21:47 -05:00

20 lines
493 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; }
}
}