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

#include <BufferedOutputDevice.h>

+ Inheritance diagram for FBufferedOutputDevice:
+ Collaboration diagram for FBufferedOutputDevice:

Public Member Functions

void SetVerbosity (ELogVerbosity::Type Verbosity)
 
void Serialize (const TCHAR *InData, ELogVerbosity::Type Verbosity, const FName &Category) override
 
void GetContents (TArray< FBufferedLine > &DestBuffer)
 
void RedirectTo (FOutputDevice &Ar)
 
- 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 Flush ()
 
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)
 

Protected Attributes

TArray< FBufferedLineBufferedLines
 
FCriticalSection SynchronizationObject
 
ELogVerbosity::Type FilterLevel = ELogVerbosity::All
 
- Protected Attributes inherited from FOutputDevice
bool bSuppressEventTag
 
bool bAutoEmitLineTerminator
 

Detailed Description

Buffered output device.

Definition at line 13 of file BufferedOutputDevice.h.

Member Function Documentation

◆ GetContents()

void FBufferedOutputDevice::GetContents ( TArray< FBufferedLine > & DestBuffer)

◆ RedirectTo()

void FBufferedOutputDevice::RedirectTo ( FOutputDevice & Ar)

Pushes buffered lines into the specified output device.

◆ Serialize()

void FBufferedOutputDevice::Serialize ( const TCHAR * InData,
ELogVerbosity::Type Verbosity,
const FName & Category )
override

◆ SetVerbosity()

void FBufferedOutputDevice::SetVerbosity ( ELogVerbosity::Type Verbosity)
inline

Definition at line 21 of file BufferedOutputDevice.h.

Member Data Documentation

◆ BufferedLines

TArray<FBufferedLine> FBufferedOutputDevice::BufferedLines
protected

Definition at line 16 of file BufferedOutputDevice.h.

◆ FilterLevel

ELogVerbosity::Type FBufferedOutputDevice::FilterLevel = ELogVerbosity::All
protected

Definition at line 18 of file BufferedOutputDevice.h.

◆ SynchronizationObject

FCriticalSection FBufferedOutputDevice::SynchronizationObject
protected

Definition at line 17 of file BufferedOutputDevice.h.


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