FOutputDevice

An output device.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/OutputDevice.h

Include

#include "Misc/OutputDevice.h"

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 Const

bool

 

CanBeUsedOnAnyThread()

Public function Virtual Const

bool

 

CanBeUsedOnMultipleThreads()

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 Const

bool

 

GetAutoEmitLineTerminator()

Public function Const

bool

 

GetSuppressEventTag()

Public function Virtual Const

bool

 

IsMemoryOnly()

Public function

void

 

Log

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

Simple text printing.

Public function

void

 

Log

(
    const TCHAR* S
)

Simple text printing.

Public function

void

 

Log

(
    const FString& S
)

Simple text printing.

Public function

void

 

Log

(
    const FText& S
)

Simple text printing.

Public function

void

 

Log

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

Simple text printing.

Public function

void

 

Log

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

Simple text printing.

Public function

void

 

Log

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

Simple text printing.

Public function

void

 

Logf

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

Public function

void

 

Logf

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

Public function

void

 

Logf

(
    const FmtType& Fmt
)

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
)

Public function

void

 

SetAutoEmitLineTerminator

(
    bool bInAutoEmitLineTerminator
)

Public function

void

 

SetSuppressEventTag

(
    bool bInSuppressEventTag
)

Public function Virtual

void

 

TearDown()

Closes output device and cleans up.

Operators

Name Description

Public function

FOutputDevic...

 

operator=

(
    const FOutputDevice&
)

Public function

FOutputDevic...

 

operator=

(
    FOutputDevice&&
)

Deprecated Functions

Name Description

Public function Static

FString

 

FormatLogLine

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

Please use FOutputDeviceHelper::FormatLogLine.

Public function Static

const TCHAR ...

 

VerbosityToString

(
    ELogVerbosity::Type Verbosity
)

Please use FOutputDeviceHelper::VerbosityToString.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback