Changeset 635


Ignore:
Timestamp:
08/27/12 15:28:30 (12 years ago)
Author:
sherbold
Message:
  • changed signature of tracing from Console.trace(String, Level) to Console.trace(Level, String)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/java-utils/src/main/java/de/ugoe/cs/util/console/Console.java

    r633 r635  
    433433         * </p> 
    434434         * 
     435         * @param logLevel log level of the message 
    435436         * @param traceMsg message that is send to the trace listener 
    436          * @param logLevel log level of the message 
    437          */ 
    438         public static void trace(String traceMsg, Level logLevel) { 
     437         */ 
     438        public static void trace(Level logLevel, String traceMsg) { 
    439439            for( ITraceListener observer : theInstance.traceListener) { 
    440440                observer.traceMsg(traceMsg, logLevel); 
     
    466466         * </p> 
    467467         * 
     468         * @param logLevel log level of the message 
    468469         * @param traceMsg message that is send to the observers 
    469          * @param logLevel log levle of the message 
    470          */ 
    471         public static void traceln(String traceMsg, Level logLevel) { 
     470         */ 
     471        public static void traceln(Level logLevel, String traceMsg) { 
    472472            for( ITraceListener observer : theInstance.traceListener) { 
    473473                observer.traceMsg(traceMsg + StringTools.ENDLINE, logLevel); 
Note: See TracChangeset for help on using the changeset viewer.