What first comes to me when I heard digital logic is logic gates, yup, that's right, this subject is all about logic gates and how logic gates function.
We learned how to set up logic gates to get the output voltage that we want. This subject is necessary to learn the logic behind computer.
Even though I still don't understand the importance of learning this subject in computer science, I still find it useful sometimes.