easygraph.utils.logging module#
- easygraph.utils.logging.default_log_formatter() Formatter[source]#
Create a default formatter of log messages for logging.
- easygraph.utils.logging.simple_stdout2file(file_path: str | Path) None[source]#
This function simply wraps the
sys.stdoutstream, and outputs messages to thesys.stdoutand a specified file, simultaneously.- Parameters:
file_path (
file_path: Union[str, Path]) – The path of the file to output the messages.