Updating
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user