Class 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 Detail

      • StandardOutputLoggerFactory

        public StandardOutputLoggerFactory()
    • 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:
        createLogger in interface LoggerFactory
        Parameters:
        name - the name to give the created Logger
        Returns:
        the created Logger