Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

Latest commit

 

History

History
28 lines (20 loc) · 1.25 KB

README.md

File metadata and controls

28 lines (20 loc) · 1.25 KB

python-cloudwatchlogs-logging

Build Status Coverage Status Codacy Badge

Currently under construction.

Logging Handler for easy logging to AWS CloudWatchLogs.

Example

import logging
from cloudwatchlogs_logging import CloudWatchLogsHandler

cwl_handler = CloudWatchLogsHandler(AWS_REGION, GROUP_NAME, STREAM_NAME)
logger = logging.getLogger(LOGGER_NAME)
logger.addHandler(cwl_handler)
logger.warn("Tadahhh")

Prerequisites

Licensing

python-cloudwatchlogs-logging is licensed under Apache License, Version 2.0.