fusetools.logging_tools.log_all_thread¶
-
fusetools.logging_tools.log_all_thread(filename, level='INFO', thread_type='main', main_log=False)[source]¶ Logs all specified data on a ‘main’ thread or a ‘sub’ thread. Main thread excluded logging from other threads. Sub thread logs data for only that threadId.
- Parameters
filename – Filename to log the thread contents to.
level – Level of logging for the thread (ie: INFO, DEBUG, WARNING, etc)
thread_type – ‘Main’ thread or ‘Sub’ thread.
main_log – Main log to specify if using a sub thread.
- Returns
A logfile with thread’s output.