Class StandardOutputLoggerFactory
- java.lang.Object
-
- software.amazon.disco.agent.reflect.logging.StandardOutputLoggerFactory
-
- All Implemented Interfaces:
LoggerFactory
public class StandardOutputLoggerFactory extends java.lang.Object implements LoggerFactory
By default, DiSCo has a null implementation of logging, to ensure that its behavior is safe and optimal by default. Service owners may want to install a LoggerFactory of their own which redirects to e.g. their own logging solution such as log4j, but as an example LoggerFactory, or as a quick way to get logging visible during tests or debugging, this implementation can be installed, which will just direct all output to System.out.
-
-
Constructor Summary
Constructors Constructor Description StandardOutputLoggerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoggercreateLogger(java.lang.String name)Creates the named Logger.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.disco.agent.logging.LoggerFactory
createLogger
-
-
-
-
Method Detail
-
createLogger
public Logger createLogger(java.lang.String name)
Creates the named Logger. The created Logger may or may not honor the given name.- Specified by:
createLoggerin interfaceLoggerFactory- Parameters:
name- the name to give the created Logger- Returns:
- the created Logger
-
-