Skip to content

Instantly share code, notes, and snippets.

@yanns
Created May 9, 2015 21:41
Show Gist options
  • Save yanns/e96893f6ed434555bd37 to your computer and use it in GitHub Desktop.
Save yanns/e96893f6ed434555bd37 to your computer and use it in GitHub Desktop.
Trace context with scala Future
Tracer.withNewContext("ws", Some("blabla"), autoFinish = true) {
log.error("hello1 bla bla")
Future {
log.error("hello2 bla bla")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment