Add production logging for fonts and maps.

This commit is contained in:
vng 2012-09-27 12:23:42 +03:00 committed by Alex Zolotarev
parent f3d4dda1f3
commit 202ee88051
3 changed files with 3 additions and 2 deletions

View file

@ -49,7 +49,7 @@ Framework::FixedPosition::FixedPosition()
void Framework::AddMap(string const & file)
{
LOG(LDEBUG, ("Loading map:", file));
LOG(LINFO, ("Loading map:", file));
//threads::MutexGuard lock(m_modelSyn);
int const version = m_model.AddMap(file);

View file

@ -65,5 +65,5 @@ void Platform::GetFontNames(FilesList & res) const
sort(res.begin(), res.end());
res.erase(unique(res.begin(), res.end()), res.end());
LOG(LDEBUG, ("Font files:", (res)));
LOG(LINFO, ("Available font files:", (res)));
}

View file

@ -261,6 +261,7 @@ namespace yg
FTCHECKRETURN(FT_Done_Face(face), fileName);
LOG(LINFO, ("Font", fileName, "is added successfully"));
m_fonts.push_back(pFont);
// modifying the m_unicodeBlocks