Created
February 5, 2019 05:06
-
-
Save RyPope/1eadb7d813caa81262b7ed0a7d2ce19b to your computer and use it in GitHub Desktop.
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
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