The use of loss instead of other metrics such as accuracy or F-measure is supported by the fact that the loss itself models the actual behavior of the model.
in a classification problem, the accuracy of the model does not express its behavior in a sufficient detail.