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