DEBUG preprocessor checks for ILog
This commit is contained in:
parent
371beb8c52
commit
fc1d188951
6 changed files with 16 additions and 2 deletions
|
|
@ -154,7 +154,8 @@ namespace TShockAPI
|
|||
{
|
||||
ConsoleInfo(string.Format(format, args));
|
||||
}
|
||||
|
||||
|
||||
#if DEBUG
|
||||
/// <summary>
|
||||
/// Writes a debug string to the log file.
|
||||
/// </summary>
|
||||
|
|
@ -175,6 +176,7 @@ namespace TShockAPI
|
|||
{
|
||||
Debug(string.Format(format, args));
|
||||
}
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Internal method which writes a message directly to the log file.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue