FMessageLogModule::RegisterLogListing

End [IModuleInterface](API\Runtime\Core\Modules\IModuleInterface) interface Registers a log listing with the message log widget.

Unreal Engine C++ API Reference > Developer > MessageLog > FMessageLogModule

References

   
Module MessageLog
Header /Engine/Source/Developer/MessageLog/Public/MessageLogModule.h
Include #include "MessageLogModule.h"
Source /Engine/Source/Developer/MessageLog/Private/MessageLogModule.cpp
virtual void RegisterLogListing
(
    const [FName](API\Runtime\Core\UObject\FName) & LogName,
    const [FText](API\Runtime\Core\Internationalization\FText) & LogLabel,
    const [FMessageLogInitializationOptions](API\Developer\MessageLog\FMessageLogInitializationOptions) & InitializationOptions
)

Remarks

End IModuleInterface interface Registers a log listing with the message log widget. This log is displayed in the global Message Log window by default, but this can be disabled in InitializationOptions. It is not necessary to call this function before outputting to a log via AddMessage etc. This call simply registers a UI to view the log data.

Parameters

Name Description
LogName The name of the log to register
LogLabel The label to display for the log
InitializationOptions Initialization options for this message log

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library