LootLocker Unreal Server SDK 6.5.0
Server-side backend SDK for Unreal Engine
Loading...
Searching...
No Matches
ULootLockerServerConfig Class Reference

#include <LootLockerServerConfig.h>

Inheritance diagram for ULootLockerServerConfig:
Collaboration diagram for ULootLockerServerConfig:

Public Member Functions

 ULootLockerServerConfig ()
 

Static Public Member Functions

static ELootLockerServerLogLevel GetConfiguredLogLevel ()
 
static void SetRuntimeLogLevel (ELootLockerServerLogLevel NewLevel)
 Sets the log level at runtime (not persisted).
 
static ELootLockerServerLogLevel GetRuntimeLogLevel ()
 Gets the current runtime log level (runtime override or config).
 
static void EnableFileLogging (const FString &FileName)
 Enables file logging to the specified file name.
 
static void DisableFileLogging ()
 Disables file logging.
 
static bool IsFileLoggingEnabled ()
 Returns true if file logging is enabled and a log file name is set.
 
static FString GetLogFilePath ()
 Returns the current log file path (may be empty if not enabled).
 

Data Fields

FString LootLockerServerKey = ""
 
FString LootLockerDomainKey = ""
 
FString LegacyKeyWarning = "You are using a legacy API Key, please generate a new one here: https://console.lootlocker.com/settings/api-keys"
 
FString InvalidGameVersionWarning = ""
 
FString GameVersion = ""
 
FString LootLockerVersion = "2021-06-01"
 
ELootLockerServerLogLevel LimitLogLevelTo = ELootLockerServerLogLevel::Display
 Logging configuration.
 
bool LogOutsideOfEditor = false
 
bool bEnableFileLogging = false
 
FString LogFileName = TEXT("LootLockerServerLog")
 
FString LongLogFilePath = ""
 

Constructor & Destructor Documentation

◆ ULootLockerServerConfig()

ULootLockerServerConfig::ULootLockerServerConfig ( )

Member Function Documentation

◆ DisableFileLogging()

static void ULootLockerServerConfig::DisableFileLogging ( )
static

Disables file logging.

◆ EnableFileLogging()

static void ULootLockerServerConfig::EnableFileLogging ( const FString &  FileName)
static

Enables file logging to the specified file name.

Parameters
FileNameThe log file name (relative to project log dir).

◆ GetConfiguredLogLevel()

static ELootLockerServerLogLevel ULootLockerServerConfig::GetConfiguredLogLevel ( )
inlinestatic

◆ GetLogFilePath()

static FString ULootLockerServerConfig::GetLogFilePath ( )
static

Returns the current log file path (may be empty if not enabled).

◆ GetRuntimeLogLevel()

static ELootLockerServerLogLevel ULootLockerServerConfig::GetRuntimeLogLevel ( )
static

Gets the current runtime log level (runtime override or config).

◆ IsFileLoggingEnabled()

static bool ULootLockerServerConfig::IsFileLoggingEnabled ( )
static

Returns true if file logging is enabled and a log file name is set.

◆ SetRuntimeLogLevel()

static void ULootLockerServerConfig::SetRuntimeLogLevel ( ELootLockerServerLogLevel  NewLevel)
static

Sets the log level at runtime (not persisted).

Parameters
NewLevelThe new log level to use for this session.

Field Documentation

◆ bEnableFileLogging

bool ULootLockerServerConfig::bEnableFileLogging = false

◆ GameVersion

FString ULootLockerServerConfig::GameVersion = ""

◆ InvalidGameVersionWarning

FString ULootLockerServerConfig::InvalidGameVersionWarning = ""

◆ LegacyKeyWarning

FString ULootLockerServerConfig::LegacyKeyWarning = "You are using a legacy API Key, please generate a new one here: https://console.lootlocker.com/settings/api-keys"

◆ LimitLogLevelTo

ELootLockerServerLogLevel ULootLockerServerConfig::LimitLogLevelTo = ELootLockerServerLogLevel::Display

Logging configuration.

◆ LogFileName

FString ULootLockerServerConfig::LogFileName = TEXT("LootLockerServerLog")

◆ LogOutsideOfEditor

bool ULootLockerServerConfig::LogOutsideOfEditor = false

◆ LongLogFilePath

FString ULootLockerServerConfig::LongLogFilePath = ""

◆ LootLockerDomainKey

FString ULootLockerServerConfig::LootLockerDomainKey = ""

◆ LootLockerServerKey

FString ULootLockerServerConfig::LootLockerServerKey = ""

◆ LootLockerVersion

FString ULootLockerServerConfig::LootLockerVersion = "2021-06-01"