Removed pokemon serch load log

This commit is contained in:
Kwoth 2016-12-30 04:14:34 +01:00
parent 901881e524
commit 5fc6c789da

View File

@ -29,7 +29,6 @@ namespace NadekoBot.Modules.Searches
static PokemonSearchCommands() static PokemonSearchCommands()
{ {
_log = LogManager.GetCurrentClassLogger(); _log = LogManager.GetCurrentClassLogger();
var sw = Stopwatch.StartNew();
if (File.Exists(PokemonListFile)) if (File.Exists(PokemonListFile))
{ {
@ -41,9 +40,6 @@ namespace NadekoBot.Modules.Searches
pokemonAbilities = JsonConvert.DeserializeObject<Dictionary<string, SearchPokemonAbility>>(File.ReadAllText(PokemonAbilitiesFile)); pokemonAbilities = JsonConvert.DeserializeObject<Dictionary<string, SearchPokemonAbility>>(File.ReadAllText(PokemonAbilitiesFile));
else else
_log.Warn(PokemonAbilitiesFile + " is missing. Pokemon abilities not loaded."); _log.Warn(PokemonAbilitiesFile + " is missing. Pokemon abilities not loaded.");
sw.Stop();
_log.Debug($"Loaded in {sw.Elapsed.TotalSeconds:F2}s");
} }
[NadekoCommand, Usage, Description, Aliases] [NadekoCommand, Usage, Description, Aliases]