Mercurial > hg > digilib-old
comparison servlet/src/digilib/Utils.java @ 71:d493563ef672
New servlet version 1.5b.
Mostly cleanup. Global parameters for digilib now in DigilibConfiguration,
per request parameters are now all in DigilibRequest. The DocuImage implementation
can be selected by the configuration docuimage-class.
Pixel-by-pixel view implemented with "mo=clip".
author | robcast |
---|---|
date | Fri, 24 Jan 2003 21:40:59 +0100 |
parents | 8d9a0abf3626 |
children | 5d44cd2481a5 |
comparison
equal
deleted
inserted
replaced
70:a336f89a9fbf | 71:d493563ef672 |
---|---|
40 /** | 40 /** |
41 * Debugging help | 41 * Debugging help |
42 * dprintln(1, "blabla"); | 42 * dprintln(1, "blabla"); |
43 * will be printed on stdout if debug >= 1 | 43 * will be printed on stdout if debug >= 1 |
44 */ | 44 */ |
45 public static void dprintln(int dbg, String s) { | 45 public void dprintln(int dbg, String s) { |
46 if (debugLevel >= dbg) { | 46 if (debugLevel >= dbg) { |
47 String ind = ""; | 47 String ind = ""; |
48 // indent by debuglevel | 48 // indent by debuglevel |
49 for (int i = 0; i < dbg; i++) { | 49 for (int i = 0; i < dbg; i++) { |
50 ind += " "; | 50 ind += " "; |