Created
May 9, 2015 21:41
-
-
Save yanns/e96893f6ed434555bd37 to your computer and use it in GitHub Desktop.
Trace context with scala Future
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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