I hereby claim:
- I am jjunqueira on github.
- I am jjunqueira (https://keybase.io/jjunqueira) on keybase.
- I have a public key ASDX_xvcVfaf-pA1BRIVzGeXzkb06de3ZNw_5kZJWthssgo
To claim this, I am signing this object:
| def akkaResponseTimeLoggingFunction(loggingAdapter: LoggingAdapter, | |
| requestTimestamp: Long, | |
| level: LogLevel = Logging.InfoLevel)(req: HttpRequest)(res: RouteResult): Unit = { | |
| res match { | |
| case Complete(resp) => | |
| resp.entity.transformDataBytes(Flow[ByteString].watchTermination() { | |
| case (_, f) => | |
| f.foreach { _ => | |
| val responseTimestamp: Long = System.nanoTime | |
| val elapsedTime: Long = (responseTimestamp - requestTimestamp) / 1000000 |
I hereby claim:
To claim this, I am signing this object:
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |