flex_rf.tidy3d.log
Type: module │ Base(s): None
Description
Section titled “Description”Logging Configuration for Tidy3d.
Attributes
Section titled “Attributes”CONSOLE_WIDTH |
DEFAULT_LEVEL |
DEFAULT_LOG_STYLES |
log |
LogLevel |
LogValue |
Methods
Section titled “Methods”get_aware_datetime() -> datetime |
|
Get an aware current local datetime(with local timezone info) |
get_logging_console() -> Console |
|
Get console from logging handlers. |
Progress(console: Console, show_progress: bool) -> Iterator[RichProgress | NoOpProgress] |
|
Progress manager that wraps |
set_log_suppression(value: bool) -> None |
|
Control log suppression for repeated messages. |
set_logging_console(stderr: bool = False) -> None |
|
Set stdout or stderr as console output |
set_logging_file(fname: PathLike, filemode: str = 'w', level: LogValue = DEFAULT_LEVEL, log_path: bool = False) -> None |
|
Set a file to write log to, independently from the stdout and stderr output chosen using |
set_logging_level(level: LogValue = DEFAULT_LEVEL) -> None |
|
Set tidy3d console logging level priority. |
set_warn_once(value: bool) -> None |
|
Control whether warnings are only shown once per unique message. |