Ignore:
Timestamp:
2013-09-23T16:47:50+02:00 (11 years ago)
Author:
Don-vip
Message:

Rework console output:

  • new log level "error"
  • Replace nearly all calls to system.out and system.err to Main.(error|warn|info|debug)
  • Remove some unnecessary debug output
  • Some messages are modified (removal of "Info", "Warning", "Error" from the message itself -> notable i18n impact but limited to console error messages not seen by the majority of users, so that's ok)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/GeorefImage.java

    r4065 r6248  
    148148            }
    149149            long freeMem = Runtime.getRuntime().maxMemory() - Runtime.getRuntime().totalMemory();
    150             //System.out.println("Free Memory:           "+ (freeMem/1024/1024) +" MB");
     150            //Main.debug("Free Memory:           "+ (freeMem/1024/1024) +" MB");
    151151            // Notice that this value can get negative due to integer overflows
    152             //System.out.println("Img Size:              "+ (width*height*3/1024/1024) +" MB");
     152            //Main.debug("Img Size:              "+ (width*height*3/1024/1024) +" MB");
    153153
    154154            int multipl = alphaChannel ? 4 : 3;
Note: See TracChangeset for help on using the changeset viewer.