summaryrefslogtreecommitdiff
path: root/StardewInjector
diff options
context:
space:
mode:
Diffstat (limited to 'StardewInjector')
-rw-r--r--StardewInjector/StardewHooker.cs6
-rw-r--r--StardewInjector/StardewInjector.cs6
2 files changed, 6 insertions, 6 deletions
diff --git a/StardewInjector/StardewHooker.cs b/StardewInjector/StardewHooker.cs
index a92b96c1..dbf1c5ef 100644
--- a/StardewInjector/StardewHooker.cs
+++ b/StardewInjector/StardewHooker.cs
@@ -29,7 +29,7 @@ namespace StardewInjector
}
catch (Exception ex)
{
- Program.LogError(ex);
+ Log.Error(ex);
return false;
}
}
@@ -57,7 +57,7 @@ namespace StardewInjector
}
catch (Exception ex)
{
- Program.LogError(ex);
+ Log.Error(ex);
return false;
}
}
@@ -97,7 +97,7 @@ namespace StardewInjector
}
catch (Exception ex)
{
- Program.LogError(ex);
+ Log.Error(ex);
}
}
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");
}
}
}