Refactored interfaces of data types of logger