DEBUG preprocessor checks for ILog
This commit is contained in:
parent
371beb8c52
commit
fc1d188951
6 changed files with 16 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue