Better way to deal with PLOG and perror using PErrorWriter