MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / enable_logging

Function enable_logging

camel/logger.py:63–72  ·  view source on GitHub ↗

r"""Enable logging for the CAMEL library. This function re-enables logging if it was previously disabled, and configures the library logging using the default settings. If the logging is already configured, this function does not change its configuration.

()

Source from the content-addressed store, hash-verified

61
62
63def enable_logging():
64 r"""Enable logging for the CAMEL library.
65
66 This function re-enables logging if it was previously disabled,
67 and configures the library logging using the default settings.
68 If the logging is already configured,
69 this function does not change its configuration.
70 """
71 os.environ['CAMEL_LOGGING_DISABLED'] = 'false'
72 _configure_library_logging()
73
74
75def set_log_level(level):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected