Skip to content

Latest commit

 

History

History
62 lines (42 loc) · 1.26 KB

70-Logging.md

File metadata and controls

62 lines (42 loc) · 1.26 KB

Logging

Log enables you to configure the amount and types of information that are recorded in the log.

00. How to enable extended log?

Click here to view the hint/answer

Go to Replay > Runtime Settings > General > Log, select `Extended Log` as shown below.

Extended Log


10. How to enable extended log programmatically?

Click here to view the hint/answer

	lr_set_debug_message(LR_MSG_CLASS_EXTENDED_LOG, LR_SWITCH_ON );


20. How to disable log programmatically?

Click here to view the hint/answer

	lr_set_debug_message(LR_MSG_CLASS_DISABLE_LOG,LR_SWITCH_ON);


30. How to send log when error occurs?

Click here to view the hint/answer

Enable Log when occurs


40. If the script is functional, the best practice is to turn off the logging? True or False

Click here to view the hint/answer

TRUE. Logging conserve resources, once you gain the confidence of the scripts, it is best to turn off the logs.