# I am making a simple logging class which has three levels in an enum: info,warning,and error. How do I make it so that my respective methods only print when the level is set to thier level or lower?