added priority system to logger