Implemented a PatternLayout to produce the header for each log