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