MCPcopy Create free account
hub / github.com/colmap/colmap / GetLogTarget

Function GetLogTarget

src/colmap/ui/main_window.cc:102–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102std::string GetLogTarget() {
103 if (FLAGS_logtostderr) {
104 return "stderr";
105 }
106
107#if COLMAP_GLOG_HAS_STDOUT_SUPPORT
108 if (FLAGS_logtostdout) {
109 return "stdout";
110 }
111#endif
112
113 if (FLAGS_alsologtostderr) {
114 return "stderr_and_file";
115 }
116
117 return "file";
118}
119
120void ApplyLogOptions(const std::string& log_target,
121 int verbosity,

Callers 1

SetLogOptionsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected