mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-02-09 09:23:56 +00:00
Log files that mustache is trying to open as info.
This commit is contained in:
parent
0c7d08e299
commit
34c23659e9
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ namespace tawashi {
|
||||||
boost::optional<std::string> load_whole_file (const std::string& parWebsiteRoot, const char* parSuffix, const boost::string_ref& parName, bool parThrow) {
|
boost::optional<std::string> load_whole_file (const std::string& parWebsiteRoot, const char* parSuffix, const boost::string_ref& parName, bool parThrow) {
|
||||||
std::ostringstream oss;
|
std::ostringstream oss;
|
||||||
oss << parWebsiteRoot << parName << parSuffix;
|
oss << parWebsiteRoot << parName << parSuffix;
|
||||||
spdlog::get("statuslog")->debug("Trying to load \"{}\"", oss.str());
|
spdlog::get("statuslog")->info("Trying to load \"{}\"", oss.str());
|
||||||
std::ifstream if_mstch(oss.str(), std::ios::binary | std::ios::in);
|
std::ifstream if_mstch(oss.str(), std::ios::binary | std::ios::in);
|
||||||
|
|
||||||
if (not if_mstch) {
|
if (not if_mstch) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue