Improved look of log message
This commit is contained in:
parent
c87e076939
commit
4adcbcd9ee
1 changed files with 2 additions and 1 deletions
|
@ -18,7 +18,8 @@ while True:
|
|||
sensor.setDirection(Directions.OUTSIDE)
|
||||
distance_outside = sensor.getDistance()
|
||||
|
||||
logging.info(f"----------\nInside: {distance_inside} cm")
|
||||
logging.info("----------")
|
||||
logging.info(f"Inside: {distance_inside} cm")
|
||||
logging.info(f"Outside: {distance_outside} cm")
|
||||
|
||||
sleep(DELAY_SECONDS)
|
||||
|
|
Loading…
Reference in a new issue