@Test public void testExtraLogLevel() { Config config = Config.getConfig(); Assert.assertTrue(config.extraLogLevel(-99)); Assert.assertFalse(config.extraLogLevel(99)); }
public boolean extraLogLevel(int val) { if (extraLogLevel == -1) { extraLogLevel = Integer.parseInt(getProperty(EXTRALOGLEVEL)); } return val <= extraLogLevel; }
Config { public boolean extraLogLevel(int val) { if (extraLogLevel == -1) { extraLogLevel = Integer.parseInt(getProperty(EXTRALOGLEVEL)); } return val <= extraLogLevel; } }
Config { public boolean extraLogLevel(int val) { if (extraLogLevel == -1) { extraLogLevel = Integer.parseInt(getProperty(EXTRALOGLEVEL)); } return val <= extraLogLevel; } private  Config(); }
Config { public boolean extraLogLevel(int val) { if (extraLogLevel == -1) { extraLogLevel = Integer.parseInt(getProperty(EXTRALOGLEVEL)); } return val <= extraLogLevel; } private  Config(); static Config getConfig(); static void setProperty(String key, String value); int getSecurityLevel(); String getSecurityProviderClassName(); String getHashAlgorithm(); Map<Integer, String> getSecurityCurveMapping(); static Map<Integer, String> parseSecurityCurveMappings(final String property); long getProposalWaitTime(); long getGenesisBlockWaitTime(); long getChannelConfigWaitTime(); long getOrdererRetryWaitTime(); long getOrdererWaitTime(); long getEventHubConnectionWaitTime(); String getAsymmetricKeyType(); String getCertificateFormat(); String getSignatureAlgorithm(); String getDefaultCryptoSuiteFactory(); int maxLogStringLength(); boolean getProposalConsistencyValidation(); boolean extraLogLevel(int val); DiagnosticFileDumper getDiagnosticFileDumper(); long getTransactionListenerCleanUpTimeout(); }
Config { public boolean extraLogLevel(int val) { if (extraLogLevel == -1) { extraLogLevel = Integer.parseInt(getProperty(EXTRALOGLEVEL)); } return val <= extraLogLevel; } private  Config(); static Config getConfig(); static void setProperty(String key, String value); int getSecurityLevel(); String getSecurityProviderClassName(); String getHashAlgorithm(); Map<Integer, String> getSecurityCurveMapping(); static Map<Integer, String> parseSecurityCurveMappings(final String property); long getProposalWaitTime(); long getGenesisBlockWaitTime(); long getChannelConfigWaitTime(); long getOrdererRetryWaitTime(); long getOrdererWaitTime(); long getEventHubConnectionWaitTime(); String getAsymmetricKeyType(); String getCertificateFormat(); String getSignatureAlgorithm(); String getDefaultCryptoSuiteFactory(); int maxLogStringLength(); boolean getProposalConsistencyValidation(); boolean extraLogLevel(int val); DiagnosticFileDumper getDiagnosticFileDumper(); long getTransactionListenerCleanUpTimeout(); static final String ORG_HYPERLEDGER_FABRIC_SDK_CONFIGURATION; static final String PROPOSAL_WAIT_TIME; static final String CHANNEL_CONFIG_WAIT_TIME; static final String TRANSACTION_CLEANUP_UP_TIMEOUT_WAIT_TIME; static final String ORDERER_RETRY_WAIT_TIME; static final String ORDERER_WAIT_TIME; static final String EVENTHUB_CONNECTION_WAIT_TIME; static final String GENESISBLOCK_WAIT_TIME; static final String DEFAULT_CRYPTO_SUITE_FACTORY; static final String SECURITY_LEVEL; static final String SECURITY_PROVIDER_CLASS_NAME; static final String SECURITY_CURVE_MAPPING; static final String HASH_ALGORITHM; static final String ASYMMETRIC_KEY_TYPE; static final String CERTIFICATE_FORMAT; static final String SIGNATURE_ALGORITHM; static final String MAX_LOG_STRING_LENGTH; static final String EXTRALOGLEVEL; static final String LOGGERLEVEL; static final String DIAGNOTISTIC_FILE_DIRECTORY; static final String PROPOSAL_CONSISTENCY_VALIDATION; }