If I add this below line to MyGameName.Target.cs and build as shipping then…
UEBuildConfiguration.bUseLoggingInShipping = true;
this error happens for a lot of files…
ExampleFile.gen.cpp.obj : error LNK2001: unresolved external symbol "struct FLogCategoryLogClass LogClass" (?LogClass@@3UFLogCategoryLogClass@@A)
So is there a way to enable logging for shipping build?
Forum link here: [SOLVED] Unable to compile shipping build with logging in 4.17.2 - C++ - Unreal Engine Forums