Skip to content

Instantly share code, notes, and snippets.

@RyPope
Created February 5, 2019 05:06
Show Gist options
  • Save RyPope/1eadb7d813caa81262b7ed0a7d2ce19b to your computer and use it in GitHub Desktop.
Save RyPope/1eadb7d813caa81262b7ed0a7d2ce19b to your computer and use it in GitHub Desktop.
public class SimpleLoggingHandler implements RequestHandler<String, Boolean> {
@Inject LambdaLogger mLogger;
public Boolean handleRequest(final String request, final Context context) {
Injector.getInjector(context).inject(this);
mLogger.log(String.format("Received Request: %s", request));
return true;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment