Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 292 Bytes

README.md

File metadata and controls

14 lines (13 loc) · 292 Bytes

Example Usage

import logging
from handler import DynamoDBHandler
logging.basicConfig(level=logging.INFO, format='%(message)s')
log = logging.getLogger('logger')
dh = DynamoDBHandler(level=logging.INFO)
log.addHandler(dh)

try:
    # something
except Exception as e:
    log.error(e)