|
VoltMod
C++23 framework for CS2 server plugins
|
#include <VoltMod/Core/Log.hpp>#include <atomic>#include <deque>#include <mutex>#include <thread>#include <utility>Go to the source code of this file.
Namespaces | |
| namespace | VoltMod |
| namespace | VoltMod::Log |
Functions | |
| void | VoltMod::Log::SetHandler (Handler handler) |
| bool | VoltMod::Log::Enabled () |
| void | VoltMod::Log::SetMinimumLevel (LogLevel level) |
| LogLevel | VoltMod::Log::MinimumLevel () |
| void | VoltMod::Log::Emit (LogLevel level, std::string message) |
| void | VoltMod::Log::DeliverPending () |
Variables | |
| static Handler | VoltMod::Log::g_handler |
| static std::thread::id | VoltMod::Log::g_gameThread {} |
| static std::atomic< LogLevel > | VoltMod::Log::g_minimumLevel {LogLevel::Info} |
| static std::mutex | VoltMod::Log::g_deferredMutex |
| static std::deque< std::pair< LogLevel, std::string > > | VoltMod::Log::g_deferred |
| static std::atomic< bool > | VoltMod::Log::g_hasDeferred {false} |
| static constexpr size_t | VoltMod::Log::MaxDeferred = 256 |