optuna.logging

logging モジュールは、Python の logging パッケージを使用してロギングを実装しています。ライブラリの利用者は、set_verbosity()optuna.logging.CRITICAL (別名 optuna.logging.FATAL)、 optuna.logging.ERRORoptuna.logging.WARNING (別名 optuna.logging.WARN )、 optuna.logging.INFO、または optuna.logging.DEBUG のいずれかにログレベルを設定することに特に関心があると思われます。

get_verbosity

Return the current level for the Optuna's root logger.

set_verbosity

Set the level for the Optuna's root logger.

disable_default_handler

Disable the default handler of the Optuna's root logger.

enable_default_handler

Enable the default handler of the Optuna's root logger.

disable_propagation

Disable propagation of the library log outputs.

enable_propagation

Enable propagation of the library log outputs.