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

Method GetSink

ProgramLog/log.cpp:75–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75std::shared_ptr<lazy_file_sink_mt> Log::GetSink() noexcept
76{
77 if (IsInitialized())
78 {
79 return s_LogSink.lock();
80 }
81 else
82 {
83 return nullptr;
84 }
85}
86
87void Log::Initialize(const std::optional<std::filesystem::path> &storageFolder)
88{

Callers

nothing calls this directly

Calls 1

lockMethod · 0.80

Tested by

no test coverage detected