FScopedLogger

Helper class that handle Messaging service and formating.

Choose your operating system:

Windows

macOS

Linux

References

Module

DatasmithImporter

Header

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithImportContext.h

Include

#include "DatasmithImportContext.h"

Syntax

class FScopedLogger

Remarks

Helper class that handle Messaging service and formating. The instance destructor will display all messages pushed during its lifetime.

Constructors

Name Description

Public function

FScopedLogger

(
    const FScopedLogger&
)

Public function

FScopedLogger

(
    FScopedLogger&&
)

Public function

FScopedLogger

(
    FName LogTitle,
    const FText& LogLabel
)

Destructors

Name Description

Public function

~FScopedLogger()

Functions

Name Description

Public function

void

 

ClearLog()

Clear log window

Public function

void

 

Dump

(
    bool bClearPrevious
)

Display pending messages, show the log window

Public function

TSharedRef< ...

 

Push

(
    EMessageSeverity::Type Severity,
    const FText& Message
)

Append a message

Operators

Name Description

Public function

FScopedLogge...

 

operator=

(
    const FScopedLogger&
)

Public function

FScopedLogge...

 

operator=

(
    FScopedLogger&&
)