Added documentation for loglevel and close.