Output logic class