From 008de9b28c1651baa9403cb2f2897bf03f40c7b4 Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Sat, 28 Feb 2015 18:56:48 -0700 Subject: [PATCH] ILog interface now declares its debug method @WhiteXZ must have forgot this? --- TShockAPI/ILog.cs | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/TShockAPI/ILog.cs b/TShockAPI/ILog.cs index a719146e..a8c65eaf 100644 --- a/TShockAPI/ILog.cs +++ b/TShockAPI/ILog.cs @@ -53,7 +53,7 @@ namespace TShockAPI /// /// The message to be written. void ConsoleInfo(string message); - + /// /// Writes an informative string to the log and to the console. /// @@ -132,6 +132,19 @@ namespace TShockAPI /// LogLevel assosciated with the message void Write(string message, LogLevel level); + /// + /// Writes a debug string to the log file. + /// + /// The message to be written. + void Debug(String message); + + /// + /// Writes a debug string to the log file. + /// + /// The format of the message to be written. + /// The format arguments. + void Debug(string format, params object[] args); + /// /// Dispose the Log ///