diff options
author | James Finlay <jtfinlay@ualberta.ca> | 2016-03-04 22:32:04 -0800 |
---|---|---|
committer | James Finlay <jtfinlay@ualberta.ca> | 2016-03-04 22:55:47 -0800 |
commit | a5a32e148b44b406d131b11a0aeadebed6d496cb (patch) | |
tree | ae8134fd5aedac7f9e5da992f3b691e4079d62aa /StardewInjector/StardewInjector.cs | |
parent | 9420dfb0719d7f00c36607a210c50dc4537a9626 (diff) | |
download | SMAPI-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 'StardewInjector/StardewInjector.cs')
-rw-r--r-- | StardewInjector/StardewInjector.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/StardewInjector/StardewInjector.cs b/StardewInjector/StardewInjector.cs index 055a79f9..b67a8bc9 100644 --- a/StardewInjector/StardewInjector.cs +++ b/StardewInjector/StardewInjector.cs @@ -39,16 +39,16 @@ namespace StardewInjector hooker.ApplyHooks(); hooker.Finalize(); - Program.LogInfo("INJECTOR ENTERED"); + Log.Verbose("INJECTOR ENTERED"); } else if (objects.Length > 0 && objects[0].AsBool() == true) { - Program.LogInfo("INJECTOR LAUNCHING"); + Log.Verbose("INJECTOR LAUNCHING"); hooker.Run(); } else { - Program.LogError("INVALID PARAMETERS FOR INJECTOR"); + Log.Verbose("INVALID PARAMETERS FOR INJECTOR"); } } } |