Added optional function for only logging certain channels