MCPcopy Create free account
hub / github.com/TranslucentTB/TranslucentTB / OpenLogFileRequested

Method OpenLogFileRequested

TranslucentTB/mainappwindow.cpp:189–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189void MainAppWindow::OpenLogFileRequested()
190{
191 if (const auto sink = Log::GetSink())
192 {
193 HresultVerify(win32::EditFile(sink->file()), spdlog::level::err, L"Failed to open log file.");
194 }
195}
196
197void MainAppWindow::LogLevelChanged(const txmp::LogLevel &level)
198{

Callers 1

RegisterMenuHandlersMethod · 0.80

Calls 1

fileMethod · 0.80

Tested by

no test coverage detected