Added "-logpath" command line parameter.

Added "LogPath" config setting.
This commit is contained in:
CoderCow 2013-06-29 12:15:32 +02:00
parent 8af4061606
commit 863082dfc3
2 changed files with 63 additions and 31 deletions

View file

@ -249,6 +249,8 @@ namespace TShockAPI
[Description("Allows stacks in chests to be beyond the stack limit")] public bool IgnoreChestStacksOnLoad = false;
[Description("The path of the directory where logs should be written into.")] public string LogPath = "tshock";
/// <summary>
/// Reads a configuration file from a given path
/// </summary>