Skip to content

Changes debug print to use standard pything logging#21

Open
muanis wants to merge 1 commit into
sixfab:masterfrom
muanis:master
Open

Changes debug print to use standard pything logging#21
muanis wants to merge 1 commit into
sixfab:masterfrom
muanis:master

Conversation

@muanis
Copy link
Copy Markdown

@muanis muanis commented Jun 14, 2021

Changing the debug log to use standard python logging allow users to configure what should be printed or not.

This allows people to control the logging of the debug comms easily with

import logging
logiot = logging.getLogger('cellulariot.cellulariot')
logiot.setLevel('INFO')

Or even redirect the logging to a file without creating console output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant