Add scoped attributes.

scoped_attributes_t object automatically adds some attributes to all log messages in its scope.