Add documentation to logger