Improve privacy

We don't need the computer name or user name in the log files by default
This commit is contained in:
stefnotch
2021-06-20 19:07:39 +02:00
committed by GitHub
parent bf1a30c5c6
commit 0f505f56ad

View File

@@ -130,8 +130,8 @@ bool PlatformBase::Init()
void PlatformBase::LogInfo()
{
LOG(Info, "Computer name: {0}", Platform::GetComputerName());
LOG(Info, "User name: {0}", Platform::GetUserName());
// LOG(Info, "Computer name: {0}", Platform::GetComputerName());
// LOG(Info, "User name: {0}", Platform::GetUserName());
const CPUInfo cpuInfo = Platform::GetCPUInfo();
LOG(Info, "CPU package count: {0}, Core count: {1}, Logical processors: {2}", cpuInfo.ProcessorPackageCount, cpuInfo.ProcessorCoreCount, cpuInfo.LogicalProcessorCount);