CommonLibSSE NG
RE::SkyrimScript::Logger Class Reference

#include <Logger.h>

Inheritance diagram for RE::SkyrimScript::Logger:
RE::BSScript::ErrorLogger RE::BSTEventSource< LogEvent >

Public Member Functions

 ~Logger () override
 
void PostErrorImpl (const char *a_logEvent, Severity a_severity) override
 
- Public Member Functions inherited from RE::BSScript::ErrorLogger
virtual ~ErrorLogger ()
 
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

BSFixedString logName
 
BSFixedString logPath
 
std::uint64_t unkA8
 
- Public Attributes inherited from RE::BSScript::ErrorLogger
BSSpinLock threadErrorsLock
 
BSTHashMap< std::uint32_t, PerThreadErrorCountsthreadErrors
 
- 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_SkyrimScript__Logger
 
- Static Public Attributes inherited from RE::BSScript::ErrorLogger
static constexpr auto RTTI = RTTI_BSScript__ErrorLogger
 

Additional Inherited Members

- Public Types inherited from RE::BSScript::ErrorLogger
enum class  Severity { kInfo , kWarning , kError , kFatal }
 
- Public Types inherited from RE::BSTEventSource< LogEvent >
using Sink = BSTEventSink< LogEvent >
 

Constructor & Destructor Documentation

◆ ~Logger()

RE::SkyrimScript::Logger::~Logger ( )
override

Member Function Documentation

◆ PostErrorImpl()

void RE::SkyrimScript::Logger::PostErrorImpl ( const char *  a_logEvent,
Severity  a_severity 
)
overridevirtual

Member Data Documentation

◆ logName

BSFixedString RE::SkyrimScript::Logger::logName

◆ logPath

BSFixedString RE::SkyrimScript::Logger::logPath

◆ RTTI

constexpr auto RE::SkyrimScript::Logger::RTTI = RTTI_SkyrimScript__Logger
inlinestaticconstexpr

◆ unkA8

std::uint64_t RE::SkyrimScript::Logger::unkA8

The documentation for this class was generated from the following file: