A Demo Project for the UnrealEngineSDK
|
#include <INYLogger.h>
Public Member Functions | |
virtual | ~INYLogger () |
FORCEINLINE void | Debug (const FString &Message) |
template<typename FmtType , typename... Types> | |
void | Debugf (const FmtType &Fmt, Types... Args) |
Self & | DisableClientConsole () |
Self & | DisableMessageLog () |
Self & | DisableOnScreen () |
Self & | DisableOutputLog () |
Self & | DisableRedirectMessageLogLevels () |
Self & | EnableClientConsole (APlayerController *PC) |
Self & | EnableMessageLog (bool bSuppressLoggingToOutputLog=false) |
Self & | EnableOnScreen (bool bInForceEnableScreenMessages=false) |
Self & | EnableOutputLog () |
FORCEINLINE void | Error (const FString &Message) |
template<typename FmtType , typename... Types> | |
void | Errorf (const FmtType &Fmt, Types... Args) |
FORCEINLINE FName | GetOutputLogCategory () const |
FORCEINLINE void | Info (const FString &Message) |
template<typename FmtType , typename... Types> | |
void | Infof (const FmtType &Fmt, Types... Args) |
FORCEINLINE bool | IsClientConsoleEnabled () const |
FORCEINLINE bool | IsMessageLogEnabled () const |
FORCEINLINE bool | IsOnScreenEnabled () const |
FORCEINLINE bool | IsOutputLogEnabled () const |
void | Log (ENYLoggerLogLevel Level, const FString &Message) |
template<typename FmtType , typename... Types> | |
void | Logf (ENYLoggerLogLevel Level, const FmtType &Fmt, Types... Args) |
Self & | OnlyEnableClientConsole (APlayerController *PC) |
Self & | OnlyEnableMessageLog (bool bSuppressLoggingToOutputLog=false) |
Self & | OnlyEnableOnScreen (bool bInForceEnableScreenMessages=false) |
Self & | OnlyEnableOutputLog () |
Self & | SetClientConsolePlayerController (APlayerController *PC) |
Self & | SetMessageLogMirrorToOutputLog (bool bValue) |
Self & | SetMessageLogName (FName LogName, bool bVerify=true) |
Self & | SetMessageLogOpenOnNewMessage (bool bValue) |
Self & | SetNoOutputLogCategory () |
Self & | SetOnScreenNewerOnTop (bool bValue) |
Self & | SetOnScreenTimeToDisplay (float Seconds) |
Self & | SetOpenMessageLogLevelsHigherThan (ENYLoggerLogLevel AfterOrEqualLevel) |
Self & | SetOutputLogCategory (const FLogCategoryBase &NewCategory) |
Self & | SetOutputLogCategory (FName NewCategory) |
Self & | SetRedirectMessageLogLevelsHigherThan (ENYLoggerLogLevel AfterOrEqualLevel) |
FORCEINLINE void | Trace (const FString &Message) |
template<typename FmtType , typename... Types> | |
void | Tracef (const FmtType &Fmt, Types... Args) |
Self & | UseClientConsole (bool bValue) |
Self & | UseMessageLog (bool bValue, bool bInMessageLogMirrorToOutputLog=true) |
Self & | UseOnScreen (bool bValue, bool bInForceEnableScreenMessages=false) |
Self & | UseOutputLog (bool bValue) |
FORCEINLINE void | Warning (const FString &Message) |
template<typename FmtType , typename... Types> | |
void | Warningf (const FmtType &Fmt, Types... Args) |
Static Public Member Functions | |
static FORCEINLINE bool | AreAllOnScreenMessagesEnabled () |
static void | ClearAllOnScreenLogs () |
static FORCEINLINE void | DisableAllOnScreenMessages () |
static FORCEINLINE void | EnableAllOnScreenMessages () |
static INYLogger & | Get () |
static bool | IsMessageLogNameRegistered (FName LogName) |
static void | MessageLogOpenLogName (FName LogName) |
static void | MessageLogRegisterLogName (FName LogName, const FText &LogLabel, const FNYMessageLogInitializationOptions &InitOptions={}) |
static bool | MessageLogUnregisterLogName (FName LogName) |
static INYLogger | New () |
static FORCEINLINE void | SetAreAllOnScreenMessagesEnabled (bool bValue) |
Protected Member Functions | |
INYLogger () | |
FColor | GetColorForLogLevel (ENYLoggerLogLevel Level) const |
virtual void | LogClientConsole (ENYLoggerLogLevel Level, const FString &Message) |
void VARARGS | LogfImplementation (ENYLoggerLogLevel Level, const TCHAR *Fmt,...) |
virtual void | LogMessageLog (ENYLoggerLogLevel Level, const FString &Message) |
virtual void | LogOutputLog (ENYLoggerLogLevel Level, const FString &Message) |
virtual void | LogScreen (ENYLoggerLogLevel Level, const FString &Message) |
Static Protected Member Functions | |
static EMessageSeverity::Type | GetMessageSeverityForLogLevel (ENYLoggerLogLevel Level) |
static FOutputDevice * | GetOutputDeviceFromLogLevel (ENYLoggerLogLevel Level) |
static ELogVerbosity::Type | GetUnrealLogTypeForLogLevel (ENYLoggerLogLevel Level) |
Protected Attributes | |
bool | bClientConsole = false |
bool | bForceEnableScreenMessages = false |
bool | bMessageLog = true |
bool | bMessageLogMirrorToOutputLog = true |
bool | bMessageLogOpen = true |
bool | bOnScreen = false |
bool | bOutputLog = false |
bool | bScreenNewerOnTop = true |
FColor | ColorDebug = FColor::Blue |
FColor | ColorError = FColor::Red |
FColor | ColorFatal = FColor::Red |
FColor | ColorInfo = FColor::White |
FColor | ColorTrace = FColor::Cyan |
FColor | ColorWarning = FColor::Yellow |
FName | MessageLogName = TEXT("PIE") |
ENYLoggerLogLevel | OpenMessageLogLevelsHigherThan = ENYLoggerLogLevel::NoLogging |
FName | OutputLogCategory = NAME_None |
APlayerController * | PlayerController = nullptr |
FName | PreviousOutputLogCategory = NAME_None |
ENYLoggerLogLevel | RedirectMessageLogLevelsHigherThan = ENYLoggerLogLevel::Warning |
float | ScreenLogDisplayTimeSeconds = 5.f |
FVector2D | ScreenTextScale = FVector2D::UnitVector |
Private Types | |
typedef INYLogger | Self |
The following output are available:
Definition at line 79 of file INYLogger.h.
|
private |
Definition at line 81 of file INYLogger.h.
|
inlineprotected |
Definition at line 83 of file INYLogger.h.
|
inlinevirtual |
Definition at line 86 of file INYLogger.h.
|
inlinestatic |
|
static |
Definition at line 292 of file INYLogger.cpp.
|
inline |
Definition at line 328 of file INYLogger.h.
|
inline |
|
inlinestatic |
Definition at line 185 of file INYLogger.h.
|
inline |
|
inline |
Definition at line 226 of file INYLogger.h.
|
inline |
|
inline |
|
inline |
Definition at line 248 of file INYLogger.h.
|
inlinestatic |
|
inline |
Definition at line 136 of file INYLogger.h.
Definition at line 155 of file INYLogger.h.
|
inline |
Definition at line 193 of file INYLogger.h.
|
inline |
|
inline |
|
inlinestatic |
Definition at line 90 of file INYLogger.h.
|
inlineprotected |
|
inlinestaticprotected |
|
staticprotected |
|
inline |
Definition at line 290 of file INYLogger.h.
|
inlinestaticprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
Definition at line 89 of file INYLogger.cpp.
|
inline |
|
inline |
void INYLogger::Log | ( | ENYLoggerLogLevel | Level, |
const FString & | Message ) |
Definition at line 186 of file INYLogger.cpp.
|
protectedvirtual |
|
inline |
Definition at line 297 of file INYLogger.h.
|
protected |
|
protectedvirtual |
Definition at line 252 of file INYLogger.cpp.
|
protectedvirtual |
Definition at line 279 of file INYLogger.cpp.
|
protectedvirtual |
Definition at line 216 of file INYLogger.cpp.
|
static |
Definition at line 153 of file INYLogger.cpp.
|
static |
|
static |
|
inlinestatic |
Definition at line 89 of file INYLogger.h.
|
inline |
Definition at line 97 of file INYLogger.h.
Definition at line 122 of file INYLogger.h.
Definition at line 105 of file INYLogger.h.
|
inline |
Definition at line 113 of file INYLogger.h.
|
inlinestatic |
INYLogger & INYLogger::SetClientConsolePlayerController | ( | APlayerController * | PC | ) |
Definition at line 56 of file INYLogger.cpp.
|
inline |
Definition at line 202 of file INYLogger.h.
Definition at line 172 of file INYLogger.h.
|
inline |
Definition at line 165 of file INYLogger.h.
|
inline |
|
inline |
Definition at line 203 of file INYLogger.h.
|
inline |
Definition at line 204 of file INYLogger.h.
|
inline |
|
inline |
Definition at line 329 of file INYLogger.h.
|
inline |
Definition at line 317 of file INYLogger.h.
Definition at line 143 of file INYLogger.h.
Definition at line 157 of file INYLogger.h.
|
inline |
|
inline |
|
protected |
Definition at line 475 of file INYLogger.h.
|
protected |
Definition at line 427 of file INYLogger.h.
|
protected |
Definition at line 447 of file INYLogger.h.
|
protected |
Definition at line 453 of file INYLogger.h.
|
protected |
Definition at line 464 of file INYLogger.h.
|
protected |
Definition at line 415 of file INYLogger.h.
|
protected |
Definition at line 434 of file INYLogger.h.
|
protected |
Definition at line 424 of file INYLogger.h.
|
protected |
Definition at line 488 of file INYLogger.h.
|
protected |
Definition at line 485 of file INYLogger.h.
|
protected |
Definition at line 484 of file INYLogger.h.
|
protected |
Definition at line 487 of file INYLogger.h.
|
protected |
Definition at line 489 of file INYLogger.h.
|
protected |
Definition at line 486 of file INYLogger.h.
|
protected |
Definition at line 450 of file INYLogger.h.
|
protected |
Definition at line 468 of file INYLogger.h.
|
protected |
Definition at line 437 of file INYLogger.h.
|
protected |
Definition at line 478 of file INYLogger.h.
|
protected |
Definition at line 440 of file INYLogger.h.
|
protected |
Definition at line 460 of file INYLogger.h.
|
protected |
Definition at line 418 of file INYLogger.h.
|
protected |
Definition at line 421 of file INYLogger.h.