fix(docs): log(rand) example is working now
fix(docs): log(rand) example is working now

follow previous example leads to logical conclusion to return function in logger definition.
regular/pull-stream,dominictarr/pull-stream,pull-stream/pull-stream