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/widgets/AbstractIdTextField.java

    r5899 r6248  
    44import javax.swing.text.JTextComponent;
    55
    6 import org.openstreetmap.josm.gui.widgets.JosmTextField;
     6import org.openstreetmap.josm.Main;
    77import org.openstreetmap.josm.tools.Utils;
    88
     
    3939            }
    4040        } catch (Exception e) {
    41             System.err.println(e.getClass().getName()+": "+e.getMessage());
     41            Main.error(e);
    4242        } finally {
    4343            this.validator = validator;
Note: See TracChangeset for help on using the changeset viewer.