Closed akkuldn closed 1 month ago
Logs looks good, now it is showing correct module name and path also.
@akkuldn I noticed 2 new deprecation warning related to "ansi" with this branch changes, can you please fix it.
/qxf2-page-object-model/utils/Base_Logging.py:113: DeprecationWarning: The 'ansi' parameter is deprecated, please use 'colors' instead logger.opt(ansi=True).info("{file_name}::{module} | {msg}", file_name=file_name, module=module, msg=msg)
/qxf2-page-object-model/utils/Base_Logging.py:109: DeprecationWarning: The 'ansi' parameter is deprecated, please use 'colors' instead logger.opt(ansi=True).debug("{file_name}::{module} | {msg}", file_name=file_name, module=module, msg=msg)
Thanks for the review Rohan, I have fixed the new warnings. please take a look
Have modified the Base logging script so that the accurate module name is displayed in the test log. To test: