Skip to content

Commit

Permalink
4.18 update
Browse files Browse the repository at this point in the history
  • Loading branch information
yatima1460 committed Oct 27, 2017
1 parent 93a9c9d commit 6c72cad
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 50 deletions.
2 changes: 1 addition & 1 deletion Source/UE4Logger/Private/UE4Logger.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
5 changes: 2 additions & 3 deletions Source/UE4Logger/Private/UE4LoggerBPLibrary.cpp
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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:
Expand All @@ -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))
{
Expand Down
42 changes: 4 additions & 38 deletions Source/UE4Logger/UE4Logger.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 ...
}
);
);
}
}
15 changes: 7 additions & 8 deletions UE4Logger.uplugin
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -18,8 +18,7 @@
"Name": "UE4Logger",
"Type": "Runtime",
"LoadingPhase": "PreLoadingScreen",
"WhitelistPlatforms" :
[
"WhitelistPlatforms": [
"Win64",
"Win32",
"Linux",
Expand Down

0 comments on commit 6c72cad

Please sign in to comment.