Add thread-safe function to log messages to file for diagnostics.
-v Flag for all messages, defaulting to just errors.
Debug(string);
Error(string);
File to be created on application run with the unique file name year.month.day.hourminute
Example with boilerplate to start then timestamped entries.
Log file open, 01/24/24 08:55:05
LogWindows: Failed to load 'aqProf.dll' (GetLastError=126)
LogWindows: File 'aqProf.dll' does not exist
LogProfilingDebugging: Loading WinPixEventRuntime.dll for PIX profiling (from ../../../Engine/Binaries/ThirdParty/Windows/WinPixEventRuntime/x64).
LogWindows: Failed to load 'VtuneApi.dll' (GetLastError=126)
[2024.01.24-16.55.07:722][ 0]LogConfig: CVar [[VersionedIntRValues:r.VelocityOutputPass]] deferred - dummy variable created
[2024.01.24-16.55.07:722][ 0]LogConfig: CVar [[VersionedIntRValues:r.SelectiveBasePassOutputs]] deferred - dummy variable created
[2024.01.24-16.55.07:722][ 0]LogConfig: CVar [[VersionedIntRValues:r.DBuffer]] deferred - dummy variable created
[2024.01.24-16.55.07:722][ 0]LogConfig: CVar [[VersionedIntRValues:r.Shaders.Symbols]] deferred - dummy variable created
[2024.01.24-16.55.07:722][ 0]LogConfig: CVar [[VersionedIntRValues:r.Shaders.GenerateSymbols]] deferred - dummy variable created
[2024.01.24-16.55.07:722][ 0]LogConfig: CVar [[VersionedIntRValues:r.Shaders.WriteSymbols]] deferred - dummy variable created
[2024.01.24-16.55.07:722][ 0]LogConfig: CVar [[VersionedIntRValues:r.Shaders.AllowUniqueSymbols]] deferred - dummy variable created
[2024.01.24-16.55.07:722][ 0]LogConfig: CVar [[VersionedIntRValues:r.Shaders.ExtraData]] deferred - dummy variable created
[2024.01.24-16.55.07:722][ 0]LogConfig: CVar [[VersionedIntRValues:r.Shaders.Optimize]] deferred - dummy variable created
[2024.01.24-16.55.07:722][ 0]LogConfig: CVar [[VersionedIntRValues:r.CompileShadersForDevelopment]] deferred - dummy variable created
[2024.01.24-16.55.07:722][ 0]LogConfig: CVar [[VersionedIntRValues:r.MobileHDR]] deferred - dummy variable created
[2024.01.24-16.55.07:722][ 0]LogConfig: CVar [[VersionedIntRValues:r.UsePreExposure]] deferred - dummy variable created
[2024.01.24-16.55.07:733][ 0]LogConfig: Applying CVar settings from Section [ViewDistanceQuality@3] File [Scalability]
[2024.01.24-16.55.07:733][ 0]LogConfig: Set CVar [[r.SkeletalMeshLODBias:0]]
[2024.01.24-16.55.07:733][ 0]LogConfig: Set CVar [[r.ViewDistanceScale:1.0]]
[2024.01.24-16.55.07:733][ 0]LogConfig: Applying CVar settings from Section [AntiAliasingQuality@3] File [Scalability]
[2024.01.24-16.55.07:733][ 0]LogConfig: Set CVar [[r.FXAA.Quality:4]]
[2024.01.24-16.55.07:733][ 0]LogConfig: Set CVar [[r.TemporalAA.Quality:2]]
[2024.01.24-16.55.07:733][ 0]LogConfig: Set CVar [[r.TSR.History.R11G11B10:1]]
[2024.01.24-16.55.07:733][ 0]LogConfig: Set CVar [[r.TSR.History.ScreenPercentage:200]]
[2024.01.24-16.55.07:733][ 0]LogConfig: Set CVar [[r.TSR.History.UpdateQuality:3]]
[2024.01.24-16.55.07:733][ 0]LogConfig: Set CVar [[r.TSR.History.GrandReprojection:0]]
[2024.01.24-16.55.07:733][ 0]LogConfig: Set CVar [[r.TSR.ShadingRejection.Flickering:1]]
[2024.01.24-16.55.07:733][ 0]LogConfig: CVar [[r.TSR.Velocity.Extrapolation:1]] deferred - dummy variable created
[2024.01.24-16.55.07:733][ 0]LogConfig: Set CVar [[r.TSR.RejectionAntiAliasingQual
Add thread-safe function to log messages to file for diagnostics. -v Flag for all messages, defaulting to just errors. Debug(string); Error(string); File to be created on application run with the unique file name year.month.day.hourminute Example with boilerplate to start then timestamped entries.