In some cases. I want to send debug information to a file specific to a program. http_debug(*on : myDebugFileName.txt) changes the value of HTTP_DEBUG_FILE. After this, any use of http_debug(*on) writes to this file.
Can the program be changed to reset the default file name back to its original value?
Debug file name
-
- Site Admin
- Posts: 872
- Joined: Sun Jul 04, 2021 5:12 am
Re: Debug file name
How would HTTPAPI know when you are done, and therefore, that it should reset the filename? Can you explain why you'd want to do this? This is an unusual requirement.