Added LogLevelFactory. Tests for logFormat and logLevel.