fastvideo.v1.logger
#
Logging configuration for fastvideo.v1.
Module Contents#
Functions#
Enable tracing of every function call in code under |
|
The main purpose of this function is to ensure that loggers are retrieved in such a way that we can be sure the root fastvideo logger has already been configured. |
Data#
API#
- fastvideo.v1.logger.enable_trace_function_call(log_file_path: str, root_dir: Optional[str] = None)[source]#
Enable tracing of every function call in code under
root_dir
. This is useful for debugging hangs or crashes.log_file_path
is the path to the log file.root_dir
is the root directory of the code to trace. If None, it is the fastvideo root directory.Note that this call is thread-level, any threads calling this function will have the trace enabled. Other threads will not be affected.