summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2016-11-04 19:30:27 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2016-11-04 19:30:27 -0400
commitcd27873afbfde0a3c6d5fd97aa12ffac60b9b5c2 (patch)
tree06a71d1d977aadf835a2ac44f3dc89cbbde2c979 /src
parentc8db03b2096be899ed912d91f8f7bb9b2632e544 (diff)
downloadSMAPI-cd27873afbfde0a3c6d5fd97aa12ffac60b9b5c2.tar.gz
SMAPI-cd27873afbfde0a3c6d5fd97aa12ffac60b9b5c2.tar.bz2
SMAPI-cd27873afbfde0a3c6d5fd97aa12ffac60b9b5c2.zip
reduce command log verbosity
Diffstat (limited to 'src')
-rw-r--r--src/StardewModdingAPI/Command.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/StardewModdingAPI/Command.cs b/src/StardewModdingAPI/Command.cs
index 4a5a2074..17924c08 100644
--- a/src/StardewModdingAPI/Command.cs
+++ b/src/StardewModdingAPI/Command.cs
@@ -59,7 +59,7 @@ namespace StardewModdingAPI
{
if (this.CommandFired == null)
{
- Log.AsyncR("Command failed to fire because it's fire event is null: " + this.CommandName);
+ Log.AsyncR($"Command failed to fire because it's fire event is null: {this.CommandName}");
return;
}
this.CommandFired.Invoke(this, new EventArgsCommand(this));
@@ -107,7 +107,6 @@ namespace StardewModdingAPI
}
Command.RegisteredCommands.Add(command);
- Log.Async("Registered command: " + name);
return command;
}