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/gui/dialogs/UserListDialog.java

    r6085 r6248  
    203203            if (users.isEmpty()) return;
    204204            if (users.size() > 10) {
    205                 System.out.println(tr("Warning: only launching info browsers for the first {0} of {1} selected users", 10, users.size()));
     205                Main.warn(tr("Only launching info browsers for the first {0} of {1} selected users", 10, users.size()));
    206206            }
    207207            int num = Math.min(10, users.size());
Note: See TracChangeset for help on using the changeset viewer.