Class SystemOutLogger

  • All Implemented Interfaces:
    Lifecycle, Logger

    public class SystemOutLogger
    extends LoggerBase
    Simple implementation of Logger that writes to System.out. Because this component is so simple, no configuration is required. Therefore, Lifecycle is not implemented.
    Version:
    $Revision: 1.2 $ $Date: 2005/12/08 01:27:46 $
    Author:
    Craig R. McClanahan
    • Constructor Detail

      • SystemOutLogger

        public SystemOutLogger()
    • Method Detail

      • log

        public void log​(String msg)
        Writes the specified message to a servlet log file, usually an event log. The name and type of the servlet log is specific to the servlet container.
        Specified by:
        log in interface Logger
        Overrides:
        log in class LoggerBase
        Parameters:
        msg - A String specifying the message to be written to the log file