Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(eventlog): e := EventBegin; e.Done() #564

Merged
merged 1 commit into from
Jan 15, 2015
Merged

Conversation

btc
Copy link
Contributor

@btc btc commented Jan 14, 2015

e := log.EventBegin(ctx, "provide")
e.Done()

e := log.EventBegin(ctx, "provide")
e.Close() // implements io.Closer in case you want to register with some lifecycle management system.

@btc btc added the status/in-progress In progress label Jan 14, 2015
@jbenet
Copy link
Member

jbenet commented Jan 14, 2015

@whyrusleeping
Copy link
Member

Im so excited for this.

@btc btc force-pushed the feat/eventlogBeginDone branch 2 times, most recently from a9d8430 to 1aad832 Compare January 15, 2015 00:36
@whyrusleeping
Copy link
Member

@briantigerchow Do you want to merge this soon? Im going to start working it into the rest of the codebase

```Go
e := log.EventBegin(ctx, "provide")
e.Done()

e := log.EventBegin(ctx, "provide")
e.Close() // implements io.Closer in case you want to register with some lifecycle management system.
```
@btc btc force-pushed the feat/eventlogBeginDone branch from 1aad832 to b252d04 Compare January 15, 2015 01:55
btc pushed a commit that referenced this pull request Jan 15, 2015
feat(eventlog): e := EventBegin; e.Done()
@btc btc merged commit 2fc97ad into master Jan 15, 2015
@btc btc removed the status/in-progress In progress label Jan 15, 2015
@btc btc deleted the feat/eventlogBeginDone branch January 15, 2015 01:56
@btc
Copy link
Contributor Author

btc commented Jan 15, 2015

@whyrusleeping merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants