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

Method state

ProgramLog/lazyfilesink.cpp:15–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13
14template<typename Mutex>
15lazy_sink_state lazy_file_sink<Mutex>::state()
16{
17 std::scoped_lock guard(this->mutex_);
18
19 if (m_Tried)
20 {
21 return m_Handle
22 ? lazy_sink_state::opened
23 : lazy_sink_state::failed;
24 }
25 else
26 {
27 return lazy_sink_state::nothing_logged;
28 }
29}
30
31template<typename Mutex>
32void lazy_file_sink<Mutex>::sink_it_(const spdlog::details::log_msg &msg)

Callers 1

RefreshMenuMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected