My daughters are in their mid-30's now (how'd THAT happen?), but not all that long ago, we were talking about their childhood friends, and some of the stuff that the friends had gotten in to, or bad paths/choices taken.
My kids are just fine...solid values, hard work for income, senses of humor, etc.... We got to talking about how the divorce that their mother and I went through affected them.
They summed it up by saying that there "was never a time when we thought you didn't love us. You may not have liked us from time to time, but we NEVER thought we weren't loved." (paraphrase)
And THAT...no matter who you are or what your circumstances are...is easy to do. Let the kid(s) know that good, bad, happy, sad...they are always loved by you; that there is no condition on your love of them.
Enjoy the journey.
Kis