macao-pos/pos/logging.py
crudo 6b159b6eda Switch from Flask to aiohttp.
This repository now provides the REST API only.

Implemented:
 * Authorization

Need improvement:
 * Product listing

Missing:
 * Selling
2017-09-25 19:38:45 +02:00

14 lines
193 B
Python

import logging
import logging.config
root = logging.getLogger('pos')
def setup_logging(config):
logging.config.dictConfig(config)
def get_logger(name):
return root.getChild(name)