modify api doc for logs

This PR modifies the api doc for logging mechanism