.ide Channge logger subclasses to more simple Logd, Logi, Logw, Loge.

git-svn-id: svn://ultimatepp.org/upp/trunk@11009 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
klugier 2017-04-16 16:28:58 +00:00
parent b42bedba88
commit e528b59fb9
4 changed files with 18 additions and 18 deletions

View file

@ -69,18 +69,18 @@ bool AndroidModuleMakeFileCreator::Save(const String& path)
{
String directory = GetFileDirectory(path);
if (!RealizeDirectory(directory)) {
LoggerError() << METHOD_NAME << "Creating module directory failed \"" << directory << "\".";
Loge() << METHOD_NAME << "Creating module directory failed \"" << directory << "\".";
return false;
}
String data = Create();
if (FileExists(path) && LoadFile(path) == data) {
LoggerInfo() << METHOD_NAME << "Following file \"" << path << "\" content is the same as previous one.";
Logi() << METHOD_NAME << "Following file \"" << path << "\" content is the same as previous one.";
return true;
}
if (!SaveFile(path, Create())) {
LoggerError() << METHOD_NAME << "Saving module file failed \"" << path << "\".";
Loge() << METHOD_NAME << "Saving module file failed \"" << path << "\".";
return false;
}