Renamed param $type of LogInterface::write() to $level.