http://bugzilla.qos.ch/show_bug.cgi?id=127





------- Comment #2 from [EMAIL PROTECTED]  2008-02-15 02:24 -------
Good point!

  public int compare(Logger l1, Logger l2) {
    if(l1.getName().equals(l2.getName())){
      return 0;
    }
    if(l1.getName().equals(LoggerContext.ROOT_NAME)){
      return -1;
    }
    if(l2.getName().equals(LoggerContext.ROOT_NAME)){
      return 1;
    }
    return l1.getName().compareTo(l2.getName());
  }


-- 
Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
logback-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-dev

Reply via email to