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

@ -205,6 +205,7 @@ namespace TShockAPI
ConsoleInfo(string.Format(format, args));
}
#if DEBUG
/// <summary>
/// Writes a debug string to the log file.
/// </summary>
@ -223,6 +224,7 @@ namespace TShockAPI
{
Debug(string.Format(format, args));
}
#endif
public void Write(string message, TraceLevel level)
{