Uniform logging formatting and output