Class POILogFactory

java.lang.Object
org.apache.poi.util.POILogFactory

@Internal public final class POILogFactory extends Object
Provides logging without clients having to mess with configuration/initialization.
Author:
Andrew C. Oliver (acoliver at apache dot org), Marc Johnson (mjohnson at apache dot org), Nicola Ken Barozzi (nicolaken at apache.org)
  • Method Details

    • getLogger

      public static POILogger getLogger(Class<?> theclass)
      Get a logger, based on a class name
      Parameters:
      theclass - the class whose name defines the log
      Returns:
      a POILogger for the specified class
    • getLogger

      public static POILogger getLogger(String cat)
      Get a logger, based on a String
      Parameters:
      cat - the String that defines the log
      Returns:
      a POILogger for the specified class