add coloured log formatting