core/src/main/java/io/tracee/contextlogger/ConnectorFactory.java
private void initConnectors() {

        // first get all connector configuration Names
        Set<String> connectorConfigurationNames = this.getConnectorConfigurationNames();

        for (String connectorConfigurationName : connectorConfigurationNames) {

            Connector connector = this.createConnector(connectorConfigurationName);

            if (connector != null) {

                this.connectorMap.put(connectorConfigurationName, connector);

            }

        }

        // Add mandatory logger
        if (!isConnectorConfigured(LogConnector.class)) {
            Connector logConnector = new LogConnector();
            this.connectorMap.put("LOGGER", logConnector);
        }

    }
private void initConnectors() {

        // first get all connector configuration Names
        Set<String> connectorConfigurationNames = this.getConnectorConfigurationNames();

        for (String connectorConfigurationName : connectorConfigurationNames) {

            Connector connector = this.createConnector(connectorConfigurationName);

            if (connector != null) {

                this.connectorMap.put(connectorConfigurationName, connector);

            }

        }

        // Add mandatory logger
        if (!isConnectorConfigured(LogConnector.class)) {
            Connector logConnector = new LogConnector();
            this.connectorMap.put("LOGGER", logConnector);
        }

    }
private void initConnectors ( ) { // first get all connector configuration Names Set < String > connectorConfigurationNames = this . getConnectorConfigurationNames ( ) ; for ( String connectorConfigurationName : connectorConfigurationNames ) { Connector connector = this . createConnector ( connectorConfigurationName ) ; if ( connector != null ) { this . connectorMap . put ( connectorConfigurationName , connector ) ; } } // Add mandatory logger if ( ! isConnectorConfigured ( LogConnector . class ) ) { Connector logConnector = new LogConnector ( ) ; this . connectorMap . put ( "LOGGER" , logConnector ) ; } }
Initializes all available connectors.
Initializes all available connectors .