Changeset 2040


Ignore:
Timestamp:
01/05/07 16:32:44 (13 years ago)
Author:
curtis
Message:

Add accessor methods for debug and debugLevel parameters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/FormatReader.java

    r2039 r2040  
    10061006  } 
    10071007 
     1008  /** Toggles debug mode (more verbose output and error messages). */ 
     1009  public static void setDebug(boolean debug) { 
     1010    FormatReader.debug = debug; 
     1011  } 
     1012 
     1013  /** 
     1014   * Toggles debug mode verbosity (which kinds of output are produced). 
     1015   * @param debugLevel 1=basic, 2=extended, 3=everything. 
     1016   */ 
     1017  public static void setDebugLevel(int debugLevel) { 
     1018    FormatReader.debugLevel = debugLevel; 
     1019  } 
    10081020} 
Note: See TracChangeset for help on using the changeset viewer.