snowflake.core.simple_file_logging

snowflake.core.simple_file_logging(path: str | Path | None = None, *, level: int = 10, format: str = '%(asctime)s - %(name)s - %(levelname)s - %(message)s') None

Set up snowflake.core logging to a file.

If path is not given the tempfile module will be used to determine the appropiate temporary location and a file named “snowflake_core.log” will be created. The parameter level controls what logging level is enabled in the file. The format parameter allows to modify the formatter output in the file.

Language: English