Renamed "type" to "level" in log classes.