Return a logger with the specified name. This function is not supposed to be directly accessed unless you are writing a custom muse module.
(name: Optional[str] = None)
| 105 | |
| 106 | |
| 107 | def get_logger(name: Optional[str] = None) -> logging.Logger: |
| 108 | """ |
| 109 | Return a logger with the specified name. |
| 110 | |
| 111 | This function is not supposed to be directly accessed unless you are writing a custom muse module. |
| 112 | """ |
| 113 | |
| 114 | if name is None: |
| 115 | name = _get_library_name() |
| 116 | |
| 117 | _configure_library_root_logger() |
| 118 | return logging.getLogger(name) |
| 119 | |
| 120 | |
| 121 | def get_verbosity() -> int: |
no test coverage detected