Test toLogString compat template function
Using name toLogStringX because QGpgME on CI already defines toLogString.