summaryrefslogtreecommitdiff
path: root/src/TrainerMod
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2016-11-04 20:18:21 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2016-11-04 20:18:21 -0400
commit83f129aa169d3cc32f142951843df5d40d1c0f43 (patch)
treed4859c17d25412507e2b28d5e275ef3c8388f6d2 /src/TrainerMod
parentb7b69707eb83fac01b30ad5b94bb8a2672fc2180 (diff)
downloadSMAPI-83f129aa169d3cc32f142951843df5d40d1c0f43.tar.gz
SMAPI-83f129aa169d3cc32f142951843df5d40d1c0f43.tar.bz2
SMAPI-83f129aa169d3cc32f142951843df5d40d1c0f43.zip
remove old obsolete log methods
Diffstat (limited to 'src/TrainerMod')
-rw-r--r--src/TrainerMod/TrainerMod.cs96
1 files changed, 61 insertions, 35 deletions
diff --git a/src/TrainerMod/TrainerMod.cs b/src/TrainerMod/TrainerMod.cs
index 8c521d95..c320b66f 100644
--- a/src/TrainerMod/TrainerMod.cs
+++ b/src/TrainerMod/TrainerMod.cs
@@ -132,12 +132,12 @@ namespace TrainerMod
}
else
{
- Log.LogObjectInvalid();
+ TrainerMod.LogObjectInvalid();
}
}
else
{
- Log.LogObjectValueNotSpecified();
+ TrainerMod.LogObjectValueNotSpecified();
}
}
@@ -160,13 +160,13 @@ namespace TrainerMod
}
else
{
- Log.LogValueNotInt32();
+ TrainerMod.LogValueNotInt32();
}
}
}
else
{
- Log.LogValueNotSpecified();
+ TrainerMod.LogValueNotSpecified();
}
}
@@ -189,13 +189,13 @@ namespace TrainerMod
}
else
{
- Log.LogValueNotInt32();
+ TrainerMod.LogValueNotInt32();
}
}
}
else
{
- Log.LogValueNotSpecified();
+ TrainerMod.LogValueNotSpecified();
}
}
@@ -211,12 +211,12 @@ namespace TrainerMod
}
else
{
- Log.LogValueNotInt32();
+ TrainerMod.LogValueNotInt32();
}
}
else
{
- Log.LogValueNotSpecified();
+ TrainerMod.LogValueNotSpecified();
}
}
@@ -255,7 +255,7 @@ namespace TrainerMod
}
else
{
- Log.LogValueNotInt32();
+ TrainerMod.LogValueNotInt32();
}
}
else
@@ -280,12 +280,12 @@ namespace TrainerMod
}
else
{
- Log.LogValueNotInt32();
+ TrainerMod.LogValueNotInt32();
}
}
else
{
- Log.LogValueNotSpecified();
+ TrainerMod.LogValueNotSpecified();
}
}
@@ -321,7 +321,7 @@ namespace TrainerMod
}
else
{
- Log.LogObjectInvalid();
+ TrainerMod.LogObjectInvalid();
}
}
else
@@ -378,17 +378,17 @@ namespace TrainerMod
}
else
{
- Log.LogValueInvalid();
+ TrainerMod.LogValueInvalid();
}
}
else
{
- Log.LogObjectInvalid();
+ TrainerMod.LogObjectInvalid();
}
}
else
{
- Log.LogObjectValueNotSpecified();
+ TrainerMod.LogObjectValueNotSpecified();
}
}
@@ -411,12 +411,12 @@ namespace TrainerMod
}
else
{
- Log.LogValueNotInt32();
+ TrainerMod.LogValueNotInt32();
}
}
else
{
- Log.LogValueNotSpecified();
+ TrainerMod.LogValueNotSpecified();
}
}
@@ -439,12 +439,12 @@ namespace TrainerMod
}
else
{
- Log.LogValueNotInt32();
+ TrainerMod.LogValueNotInt32();
}
}
else
{
- Log.LogValueNotSpecified();
+ TrainerMod.LogValueNotSpecified();
}
}
@@ -465,12 +465,12 @@ namespace TrainerMod
}
else
{
- Log.LogValueNotInt32();
+ TrainerMod.LogValueNotInt32();
}
}
else
{
- Log.LogValueNotSpecified();
+ TrainerMod.LogValueNotSpecified();
}
}
@@ -486,12 +486,12 @@ namespace TrainerMod
}
else
{
- Log.LogValueInvalid();
+ TrainerMod.LogValueInvalid();
}
}
else
{
- Log.LogValueNotSpecified();
+ TrainerMod.LogValueNotSpecified();
}
}
@@ -512,13 +512,13 @@ namespace TrainerMod
}
else
{
- Log.LogValueNotInt32();
+ TrainerMod.LogValueNotInt32();
}
}
}
else
{
- Log.LogValueNotSpecified();
+ TrainerMod.LogValueNotSpecified();
}
}
@@ -532,12 +532,12 @@ namespace TrainerMod
}
else
{
- Log.LogValueNotInt32();
+ TrainerMod.LogValueNotInt32();
}
}
else
{
- Log.LogValueNotSpecified();
+ TrainerMod.LogValueNotSpecified();
}
}
@@ -551,12 +551,12 @@ namespace TrainerMod
}
else
{
- Log.LogValueNotInt32();
+ TrainerMod.LogValueNotInt32();
}
}
else
{
- Log.LogValueNotSpecified();
+ TrainerMod.LogValueNotSpecified();
}
}
@@ -606,7 +606,7 @@ namespace TrainerMod
}
else
{
- Log.LogObjectValueNotSpecified();
+ TrainerMod.LogObjectValueNotSpecified();
}
}
@@ -627,7 +627,7 @@ namespace TrainerMod
}
else
{
- Log.LogObjectValueNotSpecified();
+ TrainerMod.LogObjectValueNotSpecified();
}
}
@@ -648,7 +648,7 @@ namespace TrainerMod
}
else
{
- Log.LogObjectValueNotSpecified();
+ TrainerMod.LogObjectValueNotSpecified();
}
}
@@ -709,12 +709,12 @@ namespace TrainerMod
}
else
{
- Log.LogValueNotInt32();
+ TrainerMod.LogValueNotInt32();
}
}
else
{
- Log.LogValueNotSpecified();
+ TrainerMod.LogValueNotSpecified();
}
}
@@ -725,5 +725,31 @@ namespace TrainerMod
private static void RegisterNewItem(object sender, EventArgsCommand e)
{
}
+
+ /// <summary>Log an error indicating the </summary>
+ public static void LogValueNotSpecified()
+ {
+ Log.AsyncR("<value> must be specified");
+ }
+
+ public static void LogObjectValueNotSpecified()
+ {
+ Log.AsyncR("<object> and <value> must be specified");
+ }
+
+ public static void LogValueInvalid()
+ {
+ Log.AsyncR("<value> is invalid");
+ }
+
+ public static void LogObjectInvalid()
+ {
+ Log.AsyncR("<object> is invalid");
+ }
+
+ public static void LogValueNotInt32()
+ {
+ Log.AsyncR("<value> must be a whole number (Int32)");
+ }
}
-} \ No newline at end of file
+}