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/command/ConflictAddCommand.java

    r5077 r6248  
    4949    @Override public void undoCommand() {
    5050        if (! Main.map.mapView.hasLayer(getLayer())) {
    51             System.out.println(tr("Warning: Layer ''{0}'' does not exist any more. Cannot remove conflict for object ''{1}''.",
     51            Main.warn(tr("Layer ''{0}'' does not exist any more. Cannot remove conflict for object ''{1}''.",
    5252                    getLayer().getName(),
    5353                    conflict.getMy().getDisplayName(DefaultNameFormatter.getInstance())
Note: See TracChangeset for help on using the changeset viewer.