Punish logger api