@Deprecated public final class TestLoggerFactory extends java.lang.Object implements LoggerFactory
PrintStream
.Modifier and Type | Class and Description |
---|---|
private static class |
TestLoggerFactory.TestLogger
Deprecated.
|
Constructor and Description |
---|
TestLoggerFactory()
Deprecated.
Creates a new logger factory that writes to
System.out . |
TestLoggerFactory(java.io.PrintStream out)
Deprecated.
Creates a new logger factory that writes to the specified print stream.
|
Modifier and Type | Method and Description |
---|---|
Logger |
getLogger(java.lang.String name)
Deprecated.
Gets a logger for a class with the specified name.
|
private final Logger logger
public TestLoggerFactory()
System.out
.public TestLoggerFactory(java.io.PrintStream out)
public Logger getLogger(java.lang.String name)
LoggerFactory
getLogger
in interface LoggerFactory
name
- The name of the class requesting a logger, must not be null
.null
.