25 lines
693 B
C#
25 lines
693 B
C#
using System.Collections.Generic;
|
|
|
|
public class ConsoleCmdTELogging : ConsoleCmdAbstract
|
|
{
|
|
public override bool IsExecuteOnClient => true;
|
|
public override bool AllowedInMainMenu => false;
|
|
public override int DefaultPermissionLevel => 1000;
|
|
|
|
public override void Execute(List<string> _params, CommandSenderInfo _senderInfo)
|
|
{
|
|
RebirthUtilities.TeLogging = !RebirthUtilities.TeLogging;
|
|
Log.Out($"TeLogging enabled: {RebirthUtilities.TeLogging}");
|
|
}
|
|
|
|
public override string[] getCommands()
|
|
{
|
|
return new string[1] { "telog" };
|
|
}
|
|
|
|
public override string getDescription()
|
|
{
|
|
return "Enables extra logging for TE";
|
|
}
|
|
}
|