.. | ||
logger | ||
.gitignore | ||
README.md | ||
requirements.txt |
Mimic route database
Usage
git clone http://192.168.10.20/Traphix/database-handler.git
cp -r ./database-logger/logger /path/to/your/project
Example
from logger import MRDatabaseHandler
db_handler = MRDatabaseHandler("your_module_name")
db_handler.setLevel(logging.INFO)
your_logger.addHandler(db_handler)