private static void DebugWrite(LogData logData)
 {
     System.Diagnostics.Debug.WriteLine(logData);
 }
 /// <summary>
 /// Writes the specified <see cref="LogData"/> to the underlying logger.
 /// </summary>
 /// <param name="logData">The log data to write.</param>
 public void WriteLog(LogData logData)
 {
     _logAction?.Invoke(logData);
 }