summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoryn <Zoryn4163@users.noreply.github.com>2016-03-27 19:25:06 -0400
committerZoryn <Zoryn4163@users.noreply.github.com>2016-03-27 19:25:06 -0400
commite6f2825929bc45ea541df46b1baab5d5cbf4dbb1 (patch)
tree310667d63301bcecd3dfb61c373f208b0a2bebc7
parent5c158db4dec2a0bab680ac360f34e498f386ce9e (diff)
parenta5667d31cc4b157c656cce869fdb1d31a69d6513 (diff)
downloadSMAPI-e6f2825929bc45ea541df46b1baab5d5cbf4dbb1.tar.gz
SMAPI-e6f2825929bc45ea541df46b1baab5d5cbf4dbb1.tar.bz2
SMAPI-e6f2825929bc45ea541df46b1baab5d5cbf4dbb1.zip
Merge pull request #71 from Zoryn4163/master
logging
-rw-r--r--StardewModdingAPI/Logger.cs15
1 files changed, 10 insertions, 5 deletions
diff --git a/StardewModdingAPI/Logger.cs b/StardewModdingAPI/Logger.cs
index 68638cb5..8a2241da 100644
--- a/StardewModdingAPI/Logger.cs
+++ b/StardewModdingAPI/Logger.cs
@@ -121,6 +121,11 @@ namespace StardewModdingAPI
Async("[OUT] " + message);
}
+ public static void Debug(object message)
+ {
+ AsyncO("[DEBUG] " + message);
+ }
+
#endregion
#region ToRemove
@@ -159,13 +164,13 @@ namespace StardewModdingAPI
[Obsolete("Parameter 'values' is no longer supported. Format before logging.")]
public static void Success(object message, params object[] values)
{
- AsyncG(message);
+ Success(message);
}
[Obsolete("Parameter 'values' is no longer supported. Format before logging.")]
public static void Verbose(object message, params object[] values)
{
- Async(message);
+ Out(message);
}
[Obsolete("Parameter 'values' is no longer supported. Format before logging.")]
@@ -177,19 +182,19 @@ namespace StardewModdingAPI
[Obsolete("Parameter 'values' is no longer supported. Format before logging.")]
public static void Info(object message, params object[] values)
{
- AsyncY(message);
+ Info(message);
}
[Obsolete("Parameter 'values' is no longer supported. Format before logging.")]
public static void Error(object message, params object[] values)
{
- AsyncR(message);
+ Error(message);
}
[Obsolete("Parameter 'values' is no longer supported. Format before logging.")]
public static void Debug(object message, params object[] values)
{
- AsyncO(message);
+ Debug(message);
}
#endregion