CommonLibVR
|
#include <ErrorLogger.h>
Classes | |
struct | PerThreadErrorCounts |
Public Types | |
enum class | Severity { kInfo , kWarning , kError , kFatal } |
Public Types inherited from RE::BSTEventSource< LogEvent > | |
using | Sink = BSTEventSink< LogEvent > |
Public Member Functions | |
virtual | ~ErrorLogger () |
virtual void | PostErrorImpl (const char *a_message, Severity a_severity)=0 |
virtual void | ResetImpl () |
Public Member Functions inherited from RE::BSTEventSource< LogEvent > | |
BSTEventSource () | |
void | AddEventSink (Sink *a_eventSink) |
void | AddEventSink (BSTEventSink< SinkEvent > *a_sink) |
void | RemoveEventSink (Sink *a_eventSink) |
void | SendEvent (const LogEvent *a_event) |
void | operator() (const LogEvent *a_event) |
Public Attributes | |
BSSpinLock | threadErrorsLock |
BSTHashMap< std::uint32_t, PerThreadErrorCounts > | threadErrors |
Public Attributes inherited from RE::BSTEventSource< LogEvent > | |
BSTArray< Sink * > | sinks |
BSTArray< Sink * > | pendingRegisters |
BSTArray< Sink * > | pendingUnregisters |
BSSpinLock | lock |
bool | notifying |
std::uint8_t | pad51 |
std::uint16_t | pad52 |
std::uint32_t | pad54 |
Static Public Attributes | |
static constexpr auto | RTTI = RTTI_BSScript__ErrorLogger |
static constexpr auto | VTABLE = VTABLE_BSScript__ErrorLogger |
|
strong |
|
virtual |
|
pure virtual |
Implemented in RE::SkyrimScript::Logger.
|
virtual |
|
inlinestaticconstexpr |
BSTHashMap<std::uint32_t, PerThreadErrorCounts> RE::BSScript::ErrorLogger::threadErrors |
|
mutable |
|
inlinestaticconstexpr |