MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / LogLocation

Method LogLocation

lib/mdflib/mdf2csv/src/logtoconsole.cpp:91–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void LogToConsole::LogLocation(const MdfLocation& location) {
92 if (!location.file.empty() && !location.function.empty()) {
93 try {
94 path fullname(location.file);
95 std::cout << "\t[" << fullname.filename().string()
96 << "::" << location.function
97 << ":" << location.line << "] " ;
98 } catch (const std::exception&) {
99
100 }
101 }
102}
103
104
105} // namespace mdf

Callers

nothing calls this directly

Calls 2

emptyMethod · 0.80
filenameMethod · 0.45

Tested by

no test coverage detected