Created
April 30, 2020 10:43
-
-
Save keithrozario/ebdcdada24f18d24bfd0032ec272763f to your computer and use it in GitHub Desktop.
lambda_logging
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
import logging | |
logger = logging.getLogger() | |
logger.setLevel(logging.INFO) | |
def main(event, context): | |
logger.info("This is an info message") | |
logger.warning("This is a warning message") | |
logger.debug("This is a debug message") | |
logger.error("This is an error message") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment