[LOGBack-dev] svn commit: r266 - logback/core/trunk/src/main/java/ch/qos/logback/core
noreply.seb at qos.ch
noreply.seb at qos.ch
Tue Jul 25 10:36:21 CEST 2006
Author: seb
Date: Tue Jul 25 10:36:21 2006
New Revision: 266
Modified:
logback/core/trunk/src/main/java/ch/qos/logback/core/Context.java
Log:
Context are named objects
Modified: logback/core/trunk/src/main/java/ch/qos/logback/core/Context.java
==============================================================================
--- logback/core/trunk/src/main/java/ch/qos/logback/core/Context.java (original)
+++ logback/core/trunk/src/main/java/ch/qos/logback/core/Context.java Tue Jul 25 10:36:21 2006
@@ -17,6 +17,7 @@
public interface Context extends FilterAttachable {
+
StatusManager getStatusManager();
/**
@@ -56,4 +57,17 @@
* @return
*/
public Map getConverterMap();
+
+ /**
+ * Contexts are named objects.
+ *
+ * @return the name for this context
+ */
+ public String getName();
+
+ /**
+ * The name of the context can be set only once.
+ * @param name
+ */
+ public void setName(String name);
}
More information about the logback-dev
mailing list