public FormAuthConfig withLoggingEnabled(LogDetail logDetail, LogConfig logConfig) {
    """
	Enables logging with the supplied log detail of the request made to authenticate using form authentication using the
	specified {@link LogConfig}. Both the request and the response is logged.
	
	@return A new FormAuthConfig instance.
    """
        notNull(logDetail, LogDetail.class);
        notNull(logConfig, LogConfig.class);
        return new FormAuthConfig(formAction, userInputTagName, passwordInputTagName, logDetail, logConfig, csrfFieldName, autoDetectCsrfFieldName, sendCsrfTokenAsFormParam, additionalInputFieldNames);
    }
public FormAuthConfig withLoggingEnabled(LogDetail logDetail, LogConfig logConfig) {
        notNull(logDetail, LogDetail.class);
        notNull(logConfig, LogConfig.class);
        return new FormAuthConfig(formAction, userInputTagName, passwordInputTagName, logDetail, logConfig, csrfFieldName, autoDetectCsrfFieldName, sendCsrfTokenAsFormParam, additionalInputFieldNames);
    }
public FormAuthConfig withLoggingEnabled ( LogDetail logDetail , LogConfig logConfig ) { notNull ( logDetail , LogDetail . class ) ; notNull ( logConfig , LogConfig . class ) ; return new FormAuthConfig ( formAction , userInputTagName , passwordInputTagName , logDetail , logConfig , csrfFieldName , autoDetectCsrfFieldName , sendCsrfTokenAsFormParam , additionalInputFieldNames ) ; }
Enables logging with the supplied log detail of the request made to authenticate using form authentication using the
specified {@link LogConfig}. Both the request and the response is logged.

@return A new FormAuthConfig instance.
Enables logging with the supplied log detail of the request made to authenticate using form authentication using the specified { @link LogConfig } . Both the request and the response is logged .