Was only logging .Info() calls. Also with the current state of the code we want debug logs too.

This commit is contained in:
high 2011-06-18 00:25:18 -04:00
parent c901e8482d
commit 05e956a30a
2 changed files with 4 additions and 6 deletions

View file

@ -35,5 +35,5 @@ using System.Runtime.InteropServices;
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.0.0617")]
[assembly: AssemblyFileVersion("2.1.0.0617")]
[assembly: AssemblyVersion("2.1.0.0618")]
[assembly: AssemblyFileVersion("2.1.0.0618")]

View file

@ -72,11 +72,9 @@ namespace TShockAPI
string version = string.Format("TShock Version {0} ({1}) now running.", Version, VersionCodename);
Console.WriteLine(version);
#if DEBUG
Log.Initialize(Path.Combine(SavePath, "log.txt"), LogLevel.All, false);
#else
Log.Initialize(Path.Combine(SavePath, "log.txt"), LogLevel.Info, false);
#endif
Log.Info(version);
Log.Info("Starting...");