moving the LogFormatter to Logging

use constant