it.tidalwave.util.logging.Logger.info()方法的使用及代码示例

x33g5p2x  于2022-01-23 转载在 其他  
字(7.6k)|赞(0)|评价(0)|浏览(141)

本文整理了Java中it.tidalwave.util.logging.Logger.info()方法的一些代码示例,展示了Logger.info()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Logger.info()方法的具体详情如下:
包路径:it.tidalwave.util.logging.Logger
类名称:Logger
方法名:info

Logger.info介绍

暂无

代码示例

代码示例来源:origin: it.tidalwave.bluebill/bluebill-mobile-android

/*******************************************************************************************************************
  *
  *
  ******************************************************************************************************************/
 private static void clearCache()
  {
   logger.info("clearCache()");
   cachedSortedTaxa = null;
   cachedSortLocale = null;
  }
}

代码示例来源:origin: it.tidalwave.geo/it-tidalwave-geo-viewer-spi-worldwindprovider

/*******************************************************************************************************************
 *
 *
 ******************************************************************************************************************/
@Override
public void setCenterPosition (final @Nonnull Coordinate centerPosition)
 {
  logger.info("setCenterPosition(%s)", centerPosition);
  setCenterPosition(centerPosition, 30000.0 * 1000.0, Angle.ZERO, Angle.ZERO); // elevation for a good initial view of the earth
 }

代码示例来源:origin: it.tidalwave.geo/it-tidalwave-geo-location-elmo

/*******************************************************************************************************************
 *
 * Clears all flyweight caches (used for testing).
 *
 ******************************************************************************************************************/
public static void flushCaches()
 {
  logger.info("flushCaches()");
  CACHE.clear();
 }

代码示例来源:origin: it.tidalwave.bluebill/bluebill-mobile-android

public void onSharedPreferenceChanged (final @Nonnull SharedPreferences sharedPreferences,
                     final @Nonnull String string)
  {
   logger.info("onSharedPreferenceChanged(%s, %s)", sharedPreferences, string);
   reset();
  }
};

代码示例来源:origin: it.tidalwave.bluebill/it-tidalwave-bluebill-mobile-taxonomy

/*******************************************************************************************************************
 *
 *
 ******************************************************************************************************************/
public void clearTaxonHistory()
 {
  logger.info("clearTaxonHistory()");
  taxonIdHistory.clear();
  save();
 }

代码示例来源:origin: it.tidalwave.metadata/it-tidalwave-metadata-viewer

/***************************************************************************
 *
 *
 **************************************************************************/
public void bind (@Nonnull final MetadataItemHolder<? extends Bean> holder)
 throws IllegalArgumentException
 {
  logger.info("bind(%s)", holder);
  bind(holder.get());
 }

代码示例来源:origin: it.tidalwave.bluebill/bluebill-mobile-android

@Override
protected Void doInBackground (Void ... params) 
 {
  logger.info("loading taxonomy");
  
  disposeController();
  controller = new TaxonomyBrowserController(TaxonBrowserActivity.this, rank, getIntent());
  return null;
 }

代码示例来源:origin: it.tidalwave.bluebill/bluebill-mobile-android

/*******************************************************************************************************************
 *
 *
 ******************************************************************************************************************/
@Override 
public void startNewObservationSequence()
 {
  logger.info("startNewObservationSequence()");
  super.startNewObservationSequence();
  controlFlow.start(AddObservationControlFlow.class);
 }

代码示例来源:origin: it.tidalwave.bluebill/bluebill-mobile-android

/*******************************************************************************************************************
 *
 * {@inheritDoc}
 *
 ******************************************************************************************************************/
@Override
protected void onDestroy()
 {
  logger.info("onDestroy()");
  disposeController();
  super.onDestroy();
 }

代码示例来源:origin: it.tidalwave.metadata/it-tidalwave-metadata-impl

@Test
public void testLazyLoading()
 {
  logger.info("******** testLazyLoading()");
  assertTrue(metadata.holderMapByOption.isEmpty());
 }

代码示例来源:origin: it.tidalwave.netbeans/it-tidalwave-netbeans-persistence-impl

@Test
public void testGetProperties()
 {
  logger.info("**************** getProperties");
  Properties properties = fixture.getProperties();
  assertEquals(7, properties.size());
  // TODO: assert values
 }

代码示例来源:origin: it.tidalwave.metadata/it-tidalwave-metadata-impl

@Test
public void testToString()
 {
  logger.info("******** testToString()");
  assertEquals(String.format("MetadataImpl[%s]", dataObject), metadata.toString());
 }

代码示例来源:origin: it.tidalwave.metadata/it-tidalwave-metadata-impl

@Test
public void testGetDataObject()
 {
  logger.info("******** testGetDataObject()");
  assertTrue(dataObject == metadata.getDataObject());
 }

代码示例来源:origin: it.tidalwave.metadata/it-tidalwave-metadata-impl

@Test
public void testLastModificationTime()
 {
  logger.info("******** testLastModificationTime()");
  assertEquals(MetadataItemSourceMock1b.DATE, metadata.getLatestModificationTime());
 }

代码示例来源:origin: it.tidalwave.geo/it-tidalwave-geo-location-elmo

@Before
public void importDataFromFiles()
 throws Exception
 {
  logger.info("********** IMPORTING DATA INTO THE REPOSITORY");
  final SailRepositoryConnection connection = sailRepository.getConnection();
  final Reader r = getReader("src/test/resources/Geo-all-final.rdf");
  connection.add(r, "urn:foobar", RDFFormat.RDFXML);
  r.close();
  connection.close();
 }

代码示例来源:origin: it.tidalwave.metadata/it-tidalwave-metadata-impl

@Test
public void testInitialization()
 {
  logger.info("******** testInitialization()");
  assertEquals(2, MetadataImpl.providerMapByClass.size());
  assertEquals(3, MetadataImpl.interceptors.size());
  assertTrue(MetadataImpl.providerMapByClass.get(MockItem1.class) instanceof MetadataItemProviderMock1);
  assertTrue(MetadataImpl.providerMapByClass.get(MockItem2.class) instanceof MetadataItemProviderMock2);
  assertTrue(MetadataImpl.interceptors.get(0) instanceof MetadataItemInterceptorMock1a);
  assertTrue(MetadataImpl.interceptors.get(1) instanceof MetadataItemInterceptorMock1b);
  assertTrue(MetadataImpl.interceptors.get(2) instanceof MetadataItemInterceptorMock2a);
 }

代码示例来源:origin: it.tidalwave.netbeans/it-tidalwave-netbeans-persistence-impl

@Test
public void testGetEntityManagerFactory()
 {
  logger.info("**************** getEntityManagerFactory");
  final EntityManagerFactory emf = fixture.getEntityManagerFactory();
  assertNotNull(emf);
  assertTrue(emf.isOpen());
 }

代码示例来源:origin: it.tidalwave.netbeans/it-tidalwave-netbeans-persistence-impl

@Test
public void testCreateIndexes()
 {
  logger.info("**************** createIndexes");
  // repeated multiple times, shouldn't fail the next times
  fixture.createIndexes(MockEntity.class, "field1", "field2");
  fixture.createIndexes(MockEntity.class, "field1", "field2");
  fixture.reset();
  fixture.createIndexes(MockEntity.class, "field1", "field2");
 }

代码示例来源:origin: it.tidalwave.netbeans/it-tidalwave-netbeans-persistence-impl

@Test
public void testShutdown()
 {
  logger.info("**************** shutdown");
  TestPersistenceConfigurator tpc = (TestPersistenceConfigurator)Locator.find(PersistenceConfigurator.class);
  assertFalse(tpc.isClosed());
  fixture.shutdown();
  assertTrue(tpc.isClosed());
 }

代码示例来源:origin: it.tidalwave.netbeans/it-tidalwave-netbeans-persistence-impl

@Test
public void testReset()
 {
  logger.info("**************** reset");
  final EntityManagerFactory emf1 = fixture.getEntityManagerFactory();
  fixture.reset();
  final EntityManagerFactory emf2 = fixture.getEntityManagerFactory();
  assertNotNull(emf2);
  assertNotSame(emf1, emf2);
  assertFalse(emf1.isOpen());
  assertTrue(emf2.isOpen());
 }

相关文章