static logger class to put all logs in a common file