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

Method flush_

ProgramLog/lazyfilesink.cpp:46–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45template<typename Mutex>
46void lazy_file_sink<Mutex>::flush_()
47{
48 if (m_Handle)
49 {
50 if (!FlushFileBuffers(m_Handle.get()))
51 {
52 LastErrorHandle(spdlog::level::trace, L"Failed to flush log file.");
53 }
54 }
55}
56
57template<typename Mutex>
58void lazy_file_sink<Mutex>::open()

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected