Merge pull request #2455 from ADmad/3.0-log

Renamed param $type of LogInterface::write() to $level.
Rename grouped indentifiers variable
Merge pull request #2460 from bcrowe/3.0-renameTimeReturn

Rename grouped indentifiers variable
Renamed param $type of LogTrait::write() to $level.
Throw exception for invalid log level.