bittensor.utils.btlogging.console#
BittensorConsole class gives the ability to log messages to the terminal without changing Bittensor logging level.
Example
from bittensor import logging
# will be logged logging.console.info(“info message”) logging.console.error(“error message”) logging.console.success(“success message”) logging.console.warning(“warning message”) logging.console.critical(“critical message”)
# will not be logged logging.info(“test info”)
Classes#
Functions#
|
Module Contents#
- class bittensor.utils.btlogging.console.BittensorConsole(logger)[source]#
- Parameters:
logger (bittensor.utils.btlogging.loggingmachine.LoggingMachine)
- logger#