Rewrite all log message format

This commit is contained in:
bao-qian
2017-01-24 00:24:20 +00:00
parent fdfd684e7a
commit 045fd20d8c
25 changed files with 180 additions and 186 deletions

View File

@@ -30,7 +30,7 @@ namespace Wox.Core.Resource
}
catch (Exception e)
{
Log.Exception(e);
Log.Exception($"|Internationalization.MakesureDirectoriesExist|Exception when create directory <{DirectoryPath}>", e);
}
}
}
@@ -117,8 +117,7 @@ namespace Wox.Core.Resource
}
catch (Exception e)
{
var woxPluginException = new WoxPluginException(pluginPair.Metadata.Name, "Update Plugin metadata translation failed:", e);
Log.Exception(woxPluginException);
Log.Exception($"|Internationalization.UpdatePluginMetadataTranslations|Update Plugin metadata translation failed for <{pluginPair.Metadata.Name}>", e);
}
}

View File

@@ -36,7 +36,7 @@ namespace Wox.Core.Resource
}
catch (Exception e)
{
Log.Exception(e);
Log.Exception($"|Theme.MakesureThemeDirectoriesExist|Exception when create directory <{pluginDirectory}>", e);
}
}
}