Renamed param $type of LogInterface::write() to $level.
Merge pull request #2455 from ADmad/3.0-log

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