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.
|
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–2018 The Apache Software Foundation. All rights reserved.