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

@ -122,6 +122,7 @@ namespace TShockAPI
/// <param name="level">LogLevel assosciated with the message</param>
void Write(string message, TraceLevel level);
#if DEBUG
/// <summary>
/// Writes a debug string to the log file.
/// </summary>
@ -134,6 +135,7 @@ namespace TShockAPI
/// <param name="format">The format of the message to be written.</param>
/// <param name="args">The format arguments.</param>
void Debug(string format, params object[] args);
#endif
/// <summary>
/// Dispose the Log