Updated logger with more phpdoc