Add log parameter 'context'

Support the collection of context parameter.