SnoozeTime 7d463488b2 attributes: support overriding name of the span (#330)
## Motivation

Fixes #298 

## Solution

Add a new function to either parse the name from the macro's attribute
or return the default name (instrumented method's name). Do you want to
have the previous function's name as a field? In that case, that would
require a bit of change (maybe return an option of something from
`name`).

I added some tests, please tell me if you need more (in the nightly
async/await test for example)

refs: #298
2019-09-08 19:04:42 -07:00
..