Class DefaultLog

java.lang.Object
org.apache.rat.utils.DefaultLog
All Implemented Interfaces:
Log

public class DefaultLog extends Object implements Log
A default implementation of Log that writes to System.out and System.err
  • Field Details

    • INSTANCE

      public static final DefaultLog INSTANCE
      The instance of the default log.
  • Method Details

    • setLevel

      public void setLevel(Log.Level level)
    • getLevel

      public Log.Level getLevel()
    • log

      public void log(Log.Level level, String msg)
      Description copied from interface: Log
      Writes a message at a specific log level.
      Specified by:
      log in interface Log
      Parameters:
      level - The log level to write at.
      msg - the Message to write.