Report::LogWarnings — Set warnings logging to .y2log file
Import Report;
void Report::LogWarnings (
)
if log is true then warning messages will be logged