renaming doc to docs for consistency, adding ability to hook in a log function
renaming doc to docs for consistency, adding ability to hook in a log function