mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-28 06:12:37 -06:00
.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:
parent
b42bedba88
commit
e528b59fb9
4 changed files with 18 additions and 18 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue