Log formatting with colors
