File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818#define SRC_BASE_GLOG_WRAPPER_H_
1919
2020#include < cstdarg>
21+ #include < filesystem>
2122#include < iostream>
2223#include < mutex>
2324#include < string>
2425
25- #include " boost/filesystem.hpp"
2626#include " boost/format.hpp"
2727#include " gflags/gflags.h"
2828#include " glog/logging.h"
@@ -80,7 +80,7 @@ inline void UnprotectedSetupGlog(bool origin_flags = false) {
8080 FLAGS_logtostderr = true ;
8181 ::google::InitGoogleLogging (role.c_str());
8282 } else {
83- boost ::filesystem::create_directories (log_dir);
83+ std ::filesystem::create_directories (log_dir);
8484 std::string path = log_dir + " /" + role;
8585 ::google::InitGoogleLogging (path.c_str());
8686 std::string info_log_path = path + " .info.log." ;
Original file line number Diff line number Diff line change 1616
1717#include " base/glog_wrapper.h"
1818
19+ #include < filesystem>
1920#include < iostream>
2021#include < string>
2122
2425namespace openmldb {
2526namespace base {
2627
27- namespace fs = boost ::filesystem;
28+ namespace fs = std ::filesystem;
2829
2930class GlogWrapperTest : public ::testing::Test {
3031 public:
You can’t perform that action at this time.
0 commit comments