summaryrefslogtreecommitdiff
path: root/StardewModdingAPI/Events/Graphics.cs
diff options
context:
space:
mode:
authorJames Finlay <jtfinlay@ualberta.ca>2016-03-04 22:32:04 -0800
committerJames Finlay <jtfinlay@ualberta.ca>2016-03-04 22:55:47 -0800
commita5a32e148b44b406d131b11a0aeadebed6d496cb (patch)
treeae8134fd5aedac7f9e5da992f3b691e4079d62aa /StardewModdingAPI/Events/Graphics.cs
parent9420dfb0719d7f00c36607a210c50dc4537a9626 (diff)
downloadSMAPI-a5a32e148b44b406d131b11a0aeadebed6d496cb.tar.gz
SMAPI-a5a32e148b44b406d131b11a0aeadebed6d496cb.tar.bz2
SMAPI-a5a32e148b44b406d131b11a0aeadebed6d496cb.zip
Pulled Logs into new Log object
- Greatly simplifies Program.cs - Removed the 'Colour' method so that logging is more consistent for users - willing to discuss this change. I believe it is beneficial. - Added uses of #DEBUG
Diffstat (limited to 'StardewModdingAPI/Events/Graphics.cs')
-rw-r--r--StardewModdingAPI/Events/Graphics.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/StardewModdingAPI/Events/Graphics.cs b/StardewModdingAPI/Events/Graphics.cs
index 62bffe82..60ee7a74 100644
--- a/StardewModdingAPI/Events/Graphics.cs
+++ b/StardewModdingAPI/Events/Graphics.cs
@@ -19,7 +19,7 @@ namespace StardewModdingAPI.Events
}
catch (Exception ex)
{
- Program.LogError("An exception occured in XNA DrawTick: " + ex.ToString());
+ Log.Error("An exception occured in XNA DrawTick: " + ex.ToString());
}
}