brohrer / robot-brain-project

a general purpose learning agent
205 stars 46 forks source link

Using logger instead of prints #47

Closed markroxor closed 5 years ago

markroxor commented 5 years ago

I have tried to remove all the print statements and log them to log/log.log folder as per my understanding. Please suggest if some change is required.

Resolves #29

brohrer commented 5 years ago

Very nice! With this foundation in place, we can add a richer set of logger statements at different levels as the need arises.

I may add a few print statements back in if, during operation, it feels a little too quiet and the user is uncertain what, if anything, is happening.

markroxor commented 5 years ago

I may add a few print statements back in if, during operation, it feels a little too quiet and the user is uncertain what, if anything, is happening.

How about we log to the file as well as print the debug, warn, error statements? That can be done.