ParallelRoadTool/Utils/Log.cs
/// <summary>
///     Will log only if debug mode, the string is prepared using string.Format
/// </summary>
/// <param name="format">The text</param>
/// <param name="args"></param>
Will log only if debug mode, the string is prepared using string.Format
Will log only if debug mode the string is prepared using string . Format
[Conditional("DEBUG")]
        public static void _DebugFormat(string format, params object[] args)
        {
            LogToFile(string.Format(format, args), LogLevel.Debug);
        }
[ Conditional ( " " ) ] public static void _DebugFormat ( string format , params object [ ] args ) { LogToFile ( string . Format ( format , args ) , LogLevel . Debug ) ; }
Will log only if debug mode, the string is prepared using string.Format
Will log only if debug mode the string is prepared using string . Format
format
string
None
args
None