MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / set_log_level

Function set_log_level

utils/logger.py:35–38  ·  view source on GitHub ↗

Set the current log level.

(level: str)

Source from the content-addressed store, hash-verified

33
34
35def set_log_level(level: str):
36 """Set the current log level."""
37 global _current_log_level
38 _current_log_level = LOG_LEVELS.get(level.upper(), logging.INFO)
39
40
41def setup_file_logging(log_file: str):

Callers 1

__init__Method · 0.90

Calls 1

getMethod · 0.45

Tested by

no test coverage detected