diff --git a/Source/UE4Logger/Private/UE4Logger.cpp b/Source/UE4Logger/Private/UE4Logger.cpp index b8bf210..4d5b2c1 100644 --- a/Source/UE4Logger/Private/UE4Logger.cpp +++ b/Source/UE4Logger/Private/UE4Logger.cpp @@ -1,4 +1,4 @@ -// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. +// Copyright 2017-2018 Federico Santamorena, Inc. All Rights Reserved. #include "UE4Logger.h" diff --git a/Source/UE4Logger/Private/UE4LoggerBPLibrary.cpp b/Source/UE4Logger/Private/UE4LoggerBPLibrary.cpp index 5dce432..96f0219 100644 --- a/Source/UE4Logger/Private/UE4LoggerBPLibrary.cpp +++ b/Source/UE4Logger/Private/UE4LoggerBPLibrary.cpp @@ -1,4 +1,4 @@ -// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. +// Copyright 2017-2018 Federico Santamorena, Inc. All Rights Reserved. #include "UE4LoggerBPLibrary.h" #include "UE4Logger.h" @@ -106,7 +106,7 @@ void UUE4LoggerBPLibrary::Log(UObject* WorldContextObject, FString InString, ELo if (bPrintToLog) { - //can't find a better way of doing this without using a switch because of a strange compiler error + //TODO: better way of doing this? switch (eLogLevel) { case ELogLevel::Warning: @@ -131,7 +131,6 @@ void UUE4LoggerBPLibrary::Log(UObject* WorldContextObject, FString InString, ELo } } - // Also output to the screen if possible and hide suppressed log levels if (bPrintToScreen && !LogBlueprintUserMessages.IsSuppressed((ELogVerbosity::Type)eLogLevel)) { diff --git a/Source/UE4Logger/UE4Logger.Build.cs b/Source/UE4Logger/UE4Logger.Build.cs index 4398b12..77d7d1b 100644 --- a/Source/UE4Logger/UE4Logger.Build.cs +++ b/Source/UE4Logger/UE4Logger.Build.cs @@ -8,52 +8,18 @@ public UE4Logger(ReadOnlyTargetRules Target) : base(Target) { PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs; - PublicIncludePaths.AddRange( - new string[] { - "UE4Logger/Public" + PublicIncludePaths.Add("UE4Logger/Public"); - // ... add public include paths required here ... - } - ); - - - PrivateIncludePaths.AddRange( - new string[] { - "UE4Logger/Private", - - // ... add other private include paths required here ... - } - ); - - - PublicDependencyModuleNames.AddRange( - new string[] - { - "Core", - - // ... add other public dependencies that you statically link with here ... - } - ); + PrivateIncludePaths.Add("UE4Logger/Private"); + PublicDependencyModuleNames.Add("Core"); PrivateDependencyModuleNames.AddRange( new string[] { "CoreUObject", "Engine", - "Slate", - "SlateCore", - - // ... add private dependencies that you statically link with here ... - } - ); - - - DynamicallyLoadedModuleNames.AddRange( - new string[] - { - // ... add any modules that your module loads dynamically here ... } - ); + ); } } diff --git a/UE4Logger.uplugin b/UE4Logger.uplugin index e29dd62..4b01a6c 100644 --- a/UE4Logger.uplugin +++ b/UE4Logger.uplugin @@ -1,15 +1,15 @@ { "FileVersion": 3, - "Version": 4, - "VersionName": "0.4", - "FriendlyName": "UE4-Logger - Advanced Logging", + "Version": 5, + "VersionName": "0.5", + "FriendlyName": "UE4Logger - Advanced Logging", "Description": "A plugin to add blueprint nodes for a better logging", "Category": "Blueprint", "CreatedBy": "Federico Santamorena", "CreatedByURL": "https://santamorena.me/", - "DocsURL": "https://github.com/Yatima1460/UE4-Logger", - "MarketplaceURL": "https://github.com/Yatima1460/UE4-Logger", - "SupportURL": "https://github.com/Yatima1460/UE4-Logger", + "DocsURL": "https://github.com/Yatima1460/UE4Logger", + "MarketplaceURL": "https://github.com/Yatima1460/UE4Logger", + "SupportURL": "https://github.com/Yatima1460/UE4Logger", "CanContainContent": false, "IsBetaVersion": false, "Installed": false, @@ -18,8 +18,7 @@ "Name": "UE4Logger", "Type": "Runtime", "LoadingPhase": "PreLoadingScreen", - "WhitelistPlatforms" : - [ + "WhitelistPlatforms": [ "Win64", "Win32", "Linux",