moving the LogFormatter to Logging

call this method, one instance of StringBuilder