-
-
Save mikebroberts/fd7a5c2a9ef75baf27dd6c6fd967e0f5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
package io.symphonia; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
public class LoggingLambda { | |
// Configure our SLF4J Logger interface | |
private static final Logger LOG = LoggerFactory.getLogger(LoggingLambda.class); | |
public void handler(String s) { | |
// Write to our logger, using SLF4J's message format string | |
LOG.info("Hello, {}", s); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment