Format logger