3-class example. Adjust the predicted distribution. Loss = -log(p[true_class]). P(class 2) is automatic = 1 - P(0) - P(1).
The asymmetry matters: a confident wrong prediction gets punished orders of magnitude more than a confident right one gets rewarded. This is why a single bad batch can spike training loss.