Add a custom root logging formatter.