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/actions/mapmode/DrawAction.java

    r6246 r6248  
    13651365                    snapAngles[i] = 360-Double.parseDouble(s); i++;
    13661366                } catch (NumberFormatException e) {
    1367                     System.err.println("Warning: incorrect number in draw.anglesnap.angles preferences: "+s);
     1367                    Main.warn("Incorrect number in draw.anglesnap.angles preferences: "+s);
    13681368                    snapAngles[i]=0;i++;
    13691369                    snapAngles[i]=0;i++;
Note: See TracChangeset for help on using the changeset viewer.