[LOGGING-133] Change scope of Jdk14Logger.log to protected.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1448053 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -44,6 +44,10 @@ The <action> type attribute can be add,update,fix,remove.
|
|||||||
</properties>
|
</properties>
|
||||||
<body>
|
<body>
|
||||||
<release version="1.1.2" date="In SVN" description="Bug fixes.">
|
<release version="1.1.2" date="In SVN" description="Bug fixes.">
|
||||||
|
<action type="update" issue="LOGGING-133">
|
||||||
|
Change scope of Jdk14Logger.log(Level, String, Throwable) to protected, allowing
|
||||||
|
subclasses to modify the logging output.
|
||||||
|
</action>
|
||||||
<action type="fix" issue="LOGGING-146">
|
<action type="fix" issue="LOGGING-146">
|
||||||
Properly synchronize access to protected static field LogFactory.nullClassLoaderFactory.
|
Properly synchronize access to protected static field LogFactory.nullClassLoaderFactory.
|
||||||
</action>
|
</action>
|
||||||
|
|||||||
@@ -67,9 +67,9 @@ public class Jdk14Logger implements Log, Serializable {
|
|||||||
*/
|
*/
|
||||||
protected String name = null;
|
protected String name = null;
|
||||||
|
|
||||||
// --------------------------------------------------------- Public Methods
|
// --------------------------------------------------------- Protected Methods
|
||||||
|
|
||||||
private void log( Level level, String msg, Throwable ex ) {
|
protected void log( Level level, String msg, Throwable ex ) {
|
||||||
Logger logger = getLogger();
|
Logger logger = getLogger();
|
||||||
if (logger.isLoggable(level)) {
|
if (logger.isLoggable(level)) {
|
||||||
// Hack (?) to get the stack trace.
|
// Hack (?) to get the stack trace.
|
||||||
@@ -91,6 +91,8 @@ public class Jdk14Logger implements Log, Serializable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// --------------------------------------------------------- Public Methods
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Logs a message with <code>java.util.logging.Level.FINE</code>.
|
* Logs a message with <code>java.util.logging.Level.FINE</code>.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user