utility: creating directories with boost in FileSystem method
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
#include "FileLogger.h"
|
||||
|
||||
#include <direct.h>
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
|
||||
#include "utility/file/FileSystem.h"
|
||||
|
||||
std::string FileLogger::s_filePath = "data/log/";
|
||||
|
||||
FileLogger::FileLogger()
|
||||
@@ -56,7 +57,7 @@ void FileLogger::createDirectory()
|
||||
{
|
||||
if (s_filePath.length() > 0)
|
||||
{
|
||||
mkdir(s_filePath.c_str());
|
||||
FileSystem::createDirectory(s_filePath);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user