Source code for pyfemtet.logger

import logging
from ._impl import (
    get_module_logger,
    add_file_output,
    set_stdout_output,
    remove_file_output,
    remove_stdout_output,
    remove_all_output,
)

__all__ = [
    'get_module_logger',
    'get_dask_logger',
    'get_optuna_logger',
    'get_dash_logger',
]


[docs] def get_dask_logger(): return logging.getLogger('distributed')
[docs] def get_optuna_logger(): import optuna return optuna.logging.get_logger('optuna')
[docs] def get_dash_logger(): return logging.getLogger('werkzeug')