Logger improve

Fixed logger so it logs the source class and methods when a record is logged