Improved toString() method

This commit is contained in:
hns 2004-09-17 15:40:48 +00:00
parent 2664d31a7d
commit f2180bfa81

View file

@ -94,7 +94,9 @@ public class Logger implements Log {
* Return a string representation of this Logger
*/
public String toString() {
return "Logger[" + canonicalName + "]";
return new StringBuffer(getClass().getName()).append("[")
.append(canonicalName).append(",").append(logLevel)
.append("]").toString();
}
/**