Use 2 log files in a custom dm
Hello,
We are developing a custom dm and we would like to use 2 log files in the same time. i.e. keep them both open and send some log messages in one log file, and other log messages in the other file. Is there a way to do this without using PIN_ERR_SET_LOGFILE before every log message that we want to send to a particular log file? If we understand correctly, PIN_ERR_SET_LOGFILE performs a file open every time it is called, is this correct? Is there a way to open several log files at the beginning and then use the file descriptors
0