setId and setLogger in AudioFormatWriter::ThreadedWriter


I am trying to build a project which I am new to and it has been developed some time back (I hope 2 or 3 years back or may be more). Everything was fine until I got this error. I am building the application in Windows 10 and using Visual studio 2017, through JUCE 5.0.1 projucer.

It seems the person who developed it has used below couple of lines,
threadedWriter.setId (…);
threadedWriter.setLogger (logger);
But, it says setId and setlogger functions are not defined in ThreadedWriter class. I tried to check JUCE modules from 2015 and 2016, but with no luck.

Need to know if the functions has been replaced or removed anytime in past? and what could be the alternative?