Core/Logging: Replaced direct calls to GetCounter() in logs with ToString()