From 685c803aeb1cce4461390c5ccf7668d1cf2ebb33 Mon Sep 17 00:00:00 2001 From: Daniel Hershcovich Date: Sat, 28 May 2016 10:47:50 +0300 Subject: [PATCH] #591 note in contribution guidelines about logging --- CONTRIBUTING.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 92d610b6..b557c468 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -73,6 +73,13 @@ Universally formatted code is crucial in open source projects and promotes ease +**Logging** + +Do not use `print` for messages in Python code! Instead, use the `logging` class. +Remember that log messages are very helpful for debugging server issues, so add as much information as you can. + + + **Unit Tests** All unit tests can be found in the "tests" folder. When adding a new test, make sure you follow this pattern: `test_*.py` (e.g.: `test_bounding_box_query.py`).