Adds PHPDoc to Logger::log

Will merge this and add the usage example. Thanks @cyrgit!