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

#include <OutputDeviceArchiveWrapper.h>

+ Inheritance diagram for FOutputDeviceArchiveWrapper:
+ Collaboration diagram for FOutputDeviceArchiveWrapper:

Public Member Functions

 FOutputDeviceArchiveWrapper (FArchive *InArchive)
 
virtual void Flush () override
 
virtual void Serialize (const TCHAR *Data, ELogVerbosity::Type Verbosity, const class FName &Category) override
 
- 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)
 
virtual void TearDown ()
 
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

FArchiveLogAr
 

Additional Inherited Members

- Protected Attributes inherited from FOutputDevice
bool bSuppressEventTag
 
bool bAutoEmitLineTerminator
 

Detailed Description

Output device wrapping any kind of FArchive. Note: Works in any build configuration.

Definition at line 15 of file OutputDeviceArchiveWrapper.h.

Constructor & Destructor Documentation

◆ FOutputDeviceArchiveWrapper()

FOutputDeviceArchiveWrapper::FOutputDeviceArchiveWrapper ( FArchive * InArchive)
inline

Constructor, initializing member variables.

Parameters
InArchiveArchive to use, must not be nullptr. Does not take ownership of the archive, clean up or delete the archive independently!

Definition at line 23 of file OutputDeviceArchiveWrapper.h.

Member Function Documentation

◆ Flush()

virtual void FOutputDeviceArchiveWrapper::Flush ( )
overridevirtual

Reimplemented from FOutputDevice.

◆ Serialize()

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

Member Data Documentation

◆ LogAr

FArchive* FOutputDeviceArchiveWrapper::LogAr
private

Definition at line 35 of file OutputDeviceArchiveWrapper.h.


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