FMessageLogModule

Unreal Engine C++ API Reference > Developer > MessageLog

Inheritance Hierarchy

References

   
Module MessageLog
Header /Engine/Source/Developer/MessageLog/Public/MessageLogModule.h
Include #include "MessageLogModule.h"

Syntax

class FMessageLogModule : public [IModuleInterface](API\Runtime\Core\Modules\IModuleInterface)  

Constructors

Type Name Description
  FMessageLogModule ()  

Functions

Type Name Description
TSharedRef< ... CreateLogListing ( const FName& InLogName, const FMessageLogInitializationOpti... ) Creates a new log listing for use outside of the global MessageLog window.
TSharedRef< ... CreateLogListingWidget ( const TSharedRef< class IMessageLog... ) Creates a log listing widget to view data from the passed-in listing.
void EnableMessageLogDisplay ( bool bInCanDisplayMessageLog ) Setting this to true will allow the message log to be displayed when OpenMessageLog is called.
TSharedRef< ... GetLogListing ( const FName& LogName ) Get a message log listing registered with the message log. If it does not exist it will created.
bool IsRegisteredLogListing ( const FName& LogName ) Checks to see if a log listing is already registered with the system
void OpenMessageLog ( const FName& LogName ) Opens up the message log to a certain log listing
void RegisterLogListing ( const FName& LogName, const FText& LogLabel, const FMessageLogInitializationOpti... ) End IModuleInterface interface Registers a log listing with the message log widget.
void RegisterMessageLogSpawner ( const TSharedRef< FWorkspaceItem > ... ) Registers the Message Log spawner.
bool UnregisterLogListing ( const FName& LogName ) Unregisters a log listing with the message log widget.

Overridden from IModuleInterface

Type Name Description
void ShutdownModule () Called before the module is unloaded, right before the module object is destroyed.
void StartupModule () Begin IModuleInterface interface

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library