Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FWindowsEventLogOutputDevice Class Reference

#include <WindowsEventLogOutputDevice.h>

+ Inheritance diagram for FWindowsEventLogOutputDevice:
+ Collaboration diagram for FWindowsEventLogOutputDevice:

Public Member Functions

 FWindowsEventLogOutputDevice ()
 
virtual ~FWindowsEventLogOutputDevice ()
 
virtual void Serialize (const TCHAR *Buffer, ELogVerbosity::Type Verbosity, const class FName &Category) override
 
virtual void Flush (void)
 
virtual void TearDown (void)
 
- Public Member Functions inherited from FOutputDevice
 FOutputDevice ()
 
 FOutputDevice (FOutputDevice &&)=default
 
 FOutputDevice (const FOutputDevice &)=default
 
FOutputDeviceoperator= (FOutputDevice &&)=default
 
FOutputDeviceoperator= (const FOutputDevice &)=default
 
virtual ~FOutputDevice ()=default
 
virtual void Serialize (const TCHAR *V, ELogVerbosity::Type Verbosity, const FName &Category)=0
 
virtual void Serialize (const TCHAR *V, ELogVerbosity::Type Verbosity, const FName &Category, const double Time)
 
virtual void SerializeRecord (const UE::FLogRecord &Record)
 
void SetSuppressEventTag (bool bInSuppressEventTag)
 
FORCEINLINE bool GetSuppressEventTag () const
 
void SetAutoEmitLineTerminator (bool bInAutoEmitLineTerminator)
 
FORCEINLINE bool GetAutoEmitLineTerminator () const
 
virtual void Dump (class FArchive &Ar)
 
virtual bool IsMemoryOnly () const
 
virtual bool CanBeUsedOnAnyThread () const
 
virtual bool CanBeUsedOnMultipleThreads () const
 
virtual bool CanBeUsedOnPanicThread () const
 
void Log (const TCHAR *S)
 
void Log (ELogVerbosity::Type Verbosity, const TCHAR *S)
 
void Log (const FName &Category, ELogVerbosity::Type Verbosity, const TCHAR *Str)
 
void Log (const FString &S)
 
void Log (const FText &S)
 
void Log (ELogVerbosity::Type Verbosity, const FString &S)
 
void Log (const FName &Category, ELogVerbosity::Type Verbosity, const FString &S)
 
template<typename FmtType >
void Logf (const FmtType &Fmt)
 
template<typename FmtType , typename... Types>
FORCEINLINE void Logf (const FmtType &Fmt, Types... Args)
 
template<typename FmtType , typename... Types>
FORCEINLINE void Logf (ELogVerbosity::Type Verbosity, const FmtType &Fmt, Types... Args)
 
template<typename FmtType , typename... Types>
FORCEINLINE void CategorizedLogf (const FName &Category, ELogVerbosity::Type Verbosity, const FmtType &Fmt, Types... Args)
 

Private Attributes

Windows::HANDLE EventLog
 

Additional Inherited Members

- Protected Attributes inherited from FOutputDevice
bool bSuppressEventTag
 
bool bAutoEmitLineTerminator
 

Detailed Description

Output device that writes to Windows Event Log

Definition at line 14 of file WindowsEventLogOutputDevice.h.

Constructor & Destructor Documentation

◆ FWindowsEventLogOutputDevice()

FWindowsEventLogOutputDevice::FWindowsEventLogOutputDevice ( )

Constructor, initializing member variables

◆ ~FWindowsEventLogOutputDevice()

virtual FWindowsEventLogOutputDevice::~FWindowsEventLogOutputDevice ( )
virtual

Destructor that cleans up any remaining resources

Member Function Documentation

◆ Flush()

virtual void FWindowsEventLogOutputDevice::Flush ( void )
virtual

Does nothing

Reimplemented from FOutputDevice.

◆ Serialize()

virtual void FWindowsEventLogOutputDevice::Serialize ( const TCHAR * Buffer,
ELogVerbosity::Type Verbosity,
const class FName & Category )
overridevirtual

◆ TearDown()

virtual void FWindowsEventLogOutputDevice::TearDown ( void )
virtual

Closes any event log handles that are open

Reimplemented from FOutputDevice.

Member Data Documentation

◆ EventLog

Windows::HANDLE FWindowsEventLogOutputDevice::EventLog
private

Handle to the event log object

Definition at line 18 of file WindowsEventLogOutputDevice.h.


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