It depends on the type of Logic and the structure of the course.
Normally, at the undergraduate level, a course in Logic is one of two things: a very easy introduction to Symbolic Logic taught out of the Philosophy Dept. or a Mathematics course that can act as a transition to other advanced courses. Typically the later will contain the former and use it to build such topics like Set Theory.
This type of the course (the Mathematics led one) is important as it will usually rigorously define things like functions, relations, etc.. and lay the groundwork for the study of the Foundations of Mathematics. It can be a difficult topic for some, but then again so could Analysis and Algebra. My course in Logic and Set Theory was the best course I'd ever taken as an undergrad and I learned more from it than I'd ever imagined I would -- it was also a springboard for me into the Foundations, which is a topic that holds most of my attention and energy right now. For what it's worth, Mathematical Logic is not a subject for the weak at heart. It has very deep connections to Philosophy and I think one of the reasons that I personally took to it was because of this connection. Good luck.