@Deprecated public final class TestLoggerFactory extends Object implements LoggerFactory
PrintStream
.Constructor and Description |
---|
TestLoggerFactory()
Deprecated.
Creates a new logger factory that writes to
System.out . |
TestLoggerFactory(PrintStream out)
Deprecated.
Creates a new logger factory that writes to the specified print stream.
|
Modifier and Type | Method and Description |
---|---|
Logger |
getLogger(String name)
Deprecated.
Gets a logger for a class with the specified name.
|
public TestLoggerFactory()
System.out
.public TestLoggerFactory(PrintStream out)
public Logger getLogger(String name)
LoggerFactory
getLogger
in interface LoggerFactory
name
- The name of the class requesting a logger, must not be null
.null
.Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.