[logback-dev] svn commit: r1899 - logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/spi
noreply.ceki at qos.ch
noreply.ceki at qos.ch
Wed Oct 29 11:21:50 CET 2008
Author: ceki
Date: Wed Oct 29 11:21:49 2008
New Revision: 1899
Modified:
logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/spi/StackTraceElementProxy.java
Log:
added a getter for 'ste' as requested in LBCLASSIC-72
Modified: logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/spi/StackTraceElementProxy.java
==============================================================================
--- logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/spi/StackTraceElementProxy.java (original)
+++ logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/spi/StackTraceElementProxy.java Wed Oct 29 11:21:49 2008
@@ -17,13 +17,18 @@
this.ste = ste;
}
+
public String getSTEAsString() {
if (steAsString == null) {
steAsString = "\tat " + ste.toString();
}
return steAsString;
}
-
+
+ public StackTraceElement getStackTraceElement() {
+ return ste;
+ }
+
void setPackageInfo(ClassPackagingData cpd) {
this.cpd = cpd;
}
More information about the logback-dev
mailing list