Permalink
Browse files

Making 'missing string' log details verbose (was warning/error).

  • Loading branch information...
mawtex committed Nov 30, 2018
1 parent 3e87087 commit 53ad13248d97a763489017da39866eb043ec99be
Showing with 3 additions and 3 deletions.
  1. +3 −3 Composite/Core/ResourceSystem/StringResourceSystemFacade.cs
@@ -79,13 +79,13 @@ public static string GetString(string section, string stringName, bool throwOnEr

if (!ResourceProviderPluginFacade.LocalizationSectionDefined(section))
{
Log.LogCritical(LogTitle, "Localization section not defined '{0}:{1}'".FormatWith(section, stringName));
Log.LogVerbose(LogTitle, "Localization section not defined '{0}:{1}'".FormatWith(section, stringName));

return Error_SectionNotDefined;
}


Log.LogWarning(LogTitle, "Localization string not defined '{0}:{1}'".FormatWith(section, stringName));
Log.LogVerbose(LogTitle, "Localization string not defined '{0}:{1}'".FormatWith(section, stringName));

return Error_StringNotDefined;
}
@@ -124,7 +124,7 @@ public static List<KeyValuePair> GetLocalization(string providerName)

if(translations == null)
{
Log.LogCritical(LogTitle, "Missing localization section: '{0}'".FormatWith(providerName));
Log.LogVerbose(LogTitle, "Missing localization section: '{0}'".FormatWith(providerName));
return new List<KeyValuePair>();
}

0 comments on commit 53ad132

Please sign in to comment.