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