MCPcopy
hub / github.com/DLR-RM/stable-baselines3 / set_level

Method set_level

stable_baselines3/common/logger.py:604–610  ·  view source on GitHub ↗

Set logging threshold on current logger. :param level: the logging level (can be DEBUG=10, INFO=20, WARN=30, ERROR=40, DISABLED=50)

(self, level: int)

Source from the content-addressed store, hash-verified

602 # Configuration
603 # ----------------------------------------
604 def set_level(self, level: int) -> None:
605 """
606 Set logging threshold on current logger.
607
608 :param level: the logging level (can be DEBUG=10, INFO=20, WARN=30, ERROR=40, DISABLED=50)
609 """
610 self.level = level
611
612 def get_dir(self) -> str | None:
613 """

Callers 1

test_mainFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_mainFunction · 0.64