DEBUG preprocessor checks for ILog

This commit is contained in:
White 2015-04-08 20:46:12 +09:30
parent 371beb8c52
commit fc1d188951
6 changed files with 16 additions and 2 deletions

View file

@ -172,6 +172,7 @@ namespace TShockAPI
ConsoleInfo(string.Format(format, args));
}
#if DEBUG
/// <summary>
/// Writes a debug string to the log file.
/// </summary>
@ -190,6 +191,7 @@ namespace TShockAPI
{
Debug(string.Format(format, args));
}
#endif
/// <summary>
/// Writes a message to the log