Add logging framework to libspdr.