Mercurial > hg > orthanc
comparison Core/FileStorage/FilesystemStorage.cpp @ 1486:f967bdf8534e
refactoring to Logging.h
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 04 Aug 2015 10:01:31 +0200 |
parents | 704de8c30ff5 |
children | 23083810d543 |
comparison
equal
deleted
inserted
replaced
1485:27661b33f624 | 1486:f967bdf8534e |
---|---|
34 #include "FilesystemStorage.h" | 34 #include "FilesystemStorage.h" |
35 | 35 |
36 // http://stackoverflow.com/questions/1576272/storing-large-number-of-files-in-file-system | 36 // http://stackoverflow.com/questions/1576272/storing-large-number-of-files-in-file-system |
37 // http://stackoverflow.com/questions/446358/storing-a-large-number-of-images | 37 // http://stackoverflow.com/questions/446358/storing-a-large-number-of-images |
38 | 38 |
39 #include "../Logging.h" | |
39 #include "../OrthancException.h" | 40 #include "../OrthancException.h" |
40 #include "../Toolbox.h" | 41 #include "../Toolbox.h" |
41 #include "../Uuid.h" | 42 #include "../Uuid.h" |
42 | 43 |
43 #include <boost/filesystem/fstream.hpp> | 44 #include <boost/filesystem/fstream.hpp> |
44 | 45 |
45 #if HAVE_GOOGLE_LOG == 1 | |
46 #include <glog/logging.h> | |
47 #endif | |
48 | 46 |
49 static std::string ToString(const boost::filesystem::path& p) | 47 static std::string ToString(const boost::filesystem::path& p) |
50 { | 48 { |
51 #if BOOST_HAS_FILESYSTEM_V3 == 1 | 49 #if BOOST_HAS_FILESYSTEM_V3 == 1 |
52 return p.filename().string(); | 50 return p.filename().string(); |