Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/COVESA/vsomeip
/ log_to_file
Method
log_to_file
implementation/logger/src/logger_impl.cpp:44–49 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
42
}
43
44
void logger_impl::log_to_file(std::string_view _msg) {
45
std::scoped_lock its_lock{log_file_mutex_};
46
if (log_file_.is_open()) {
47
log_file_ << _msg;
48
}
49
}
50
51
#ifdef USE_DLT
52
Callers
1
~message
Method · 0.80
Calls
1
is_open
Method · 0.45
Tested by
no test coverage detected