crudo
6b159b6eda
This repository now provides the REST API only. Implemented: * Authorization Need improvement: * Product listing Missing: * Selling
14 lines
193 B
Python
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)
|