Language:
Discover
By Skill Level
By Category

FOutputDevice

Choose your OS:

Inheritance Hierarchy

Syntax

class FOutputDevice

Remarks

An output device.

Variables

Name Description

Protected variable

bool

 

bAutoEmitLineTerminator

Whether to output a line-terminator after each log call...

Protected variable

bool

 

bSuppressEventTag

Whether to output the 'Log: ' type front...

Constructors

Name Description

Public function

FOutputDevice()

Public function

FOutputDevice

(
    FOutputDevice &&
)

Public function

FOutputDevice

(
    const FOutputDevice &
)

Destructors

Name Description

Public function Virtual

~FOutputDevice()

Functions

Name Description

Public function Virtual

bool

 

CanBeUsedOnAnyThread()

Whether this output device can be used on any thread.

Public function Virtual

bool

 

CanBeUsedOnMultipleThreads()

Whether this output device can be used from multiple threads simultaneously without any locking

Public function

void

 

CategorizedLogf

(
    const FName & Category,
    ELogVerbosity::Type Verbosity,
    const FmtType& Fmt,
    Types... Args
)

Public function Virtual

void

 

Dump

(
    FArchive & Ar
)

Dumps the contents of this output device's buffer to an archive (supported by output device that have a memory buffer)

Public function Virtual

void

 

Flush()

Public function Static

FString

 

FormatLogLine

(
    ELogVerbosity::Type Verbosity,
    const FName & Category,
    const TCHAR * Message,
    ELogTimes::Type LogTime,
    const double Time
)

Public function

bool

 

GetAutoEmitLineTerminator()

Public function

bool

 

GetSuppressEventTag()

Public function Virtual

bool

 

IsMemoryOnly()

Whether this output device is a memory-only device

Public function

void

 

Log

(
    const FText & S
)

Public function

void

 

Log

(
    const TCHAR * S
)

Simple text printing.

Public function

void

 

Log

(
    const FString & S
)

Public function

void

 

Log

(
    ELogVerbosity::Type Verbosity,
    const TCHAR * S
)

Public function

void

 

Log

(
    ELogVerbosity::Type Verbosity,
    const FString & S
)

Public function

void

 

Log

(
    const FName & Category,
    ELogVerbosity::Type Verbosity,
    const TCHAR * Str
)

Public function

void

 

Log

(
    const FName & Category,
    ELogVerbosity::Type Verbosity,
    const FString & S
)

Public function

void

 

Logf

(
    ELogVerbosity::Type Verbosity,
    const FmtType& Fmt,
    Types... Args
)

Public function

void

 

Logf

(
    const FmtType& Fmt,
    Types... Args
)

Public function Virtual

void

 

Serialize

(
    const TCHAR * V,
    ELogVerbosity::Type Verbosity,
    const FName & Category,
    const double Time
)

Public function

void

 

Serialize

(
    const TCHAR * V,
    ELogVerbosity::Type Verbosity,
    const FName & Category
)

FOutputDevice interface.

Public function

void

 

SetAutoEmitLineTerminator

(
    bool bInAutoEmitLineTerminator
)

Public function

void

 

SetSuppressEventTag

(
    bool bInSuppressEventTag
)

Public function Virtual

void

 

TearDown()

Closes output device and cleans up.

Public function Static

const TCHAR ...

 

VerbosityToString

(
    ELogVerbosity::Type Verbosity
)

Static helpers

Operators

Name Description

Public function

FOutputDevic ...

 

operator=

(
    const FOutputDevice &
)

Public function

FOutputDevic ...

 

operator=

(
    FOutputDevice &&
)

References

Module

Core

Header

Runtime/Core/Public/Misc/OutputDevice.h