add logger as a one of example of using singleton pattern