private void initEmptyFieldsWithDefaultValues() {
      if (jsonFormatter == null) {
        jsonFormatter = DefaultsFactory.createJsonFormatter();
      }
      if (xmlFormatter == null) {
        xmlFormatter = DefaultsFactory.createXmlFormatter();
      }
      if (throwableFormatter == null) {
        throwableFormatter = DefaultsFactory.createThrowableFormatter();
      }
      if (threadFormatter == null) {
        threadFormatter = DefaultsFactory.createThreadFormatter();
      }
      if (stackTraceFormatter == null) {
        stackTraceFormatter = DefaultsFactory.createStackTraceFormatter();
      }
      if (borderFormatter == null) {
        borderFormatter = DefaultsFactory.createBorderFormatter();
      }
      if (objectFormatters == null) {
        objectFormatters = new HashMap<>(DefaultsFactory.builtinObjectFormatters());
      }
    }
Builds configured {@link LogConfiguration} object.

@return the built configured {@link LogConfiguration} object
xlog/src/main/java/com/elvishew/xlog/LogConfiguration.java