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.stdout stream, and outputs messages to the sys.stdout and a specified file, simultaneously.

Parameters:

file_path (file_path: Union[str, Path]) – The path of the file to output the messages.