opentensor / bittensor

Internet-scale Neural Networks
https://www.bittensor.com/
MIT License
886 stars 306 forks source link

Implement warning logging level #2323

Closed roman-opentensor closed 1 day ago

roman-opentensor commented 5 days ago

Warning logging level implemented. logging.INFO is the default level now. When importing a bittensor, the Warning level is activated automatically.

There are several options to change the level to INFO in the python script:

  1. bittensor.logging.set_info()
  2. bittensor.logging.set_default()

There are several options to change the level to WARNING in the python script:

  1. bittensor.warning()
  2. bittensor.logging.set_warning()