added nl and format log encoders