Hi guys, I have a pretty straight forward question. In directory op25/blocks/src/lib there is a file called logfile_du_handler.h and the comments within say that the code writes frames to a log file and that the name of the log file is d_log. How do we access this log file? Thanks a bunch
Hi
comments within say that the code writes frames to a log file and that the name of the log file is d_log. How do we access this log file?
The logfile handler is a debug thing. It needs to be instantiated as part of the handler chain (see the constructor in op25_decoder_bf.cc for how this is done) in order to log traffic .
d_log is just the identifier for the file object - the actual file name is passed as an argument to the logfile_du_handler constructor.
ATB
Stevie