Ex-Scotland rugby union captain Hogg was held in connection with an alleged breach of a non-harassment order, it has emerged.