Class MojoLogger

java.lang.Object
de.saumya.mojo.jruby.MojoLogger
All Implemented Interfaces:
Logger

public class MojoLogger extends Object implements Logger
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.apache.maven.plugin.logging.Log
     
    private final boolean
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    MojoLogger(boolean verbose, org.apache.maven.plugin.logging.Log log)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Send a message to the user in the debug level.
    void
    Send a message to the user in the error level.
    void
    info(CharSequence content)
    Send a message to the user in the info level.
    void
    warn(CharSequence content)
    Send a message to the user in the warn level.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • verbose

      private final boolean verbose
    • log

      private final org.apache.maven.plugin.logging.Log log
  • Constructor Details

    • MojoLogger

      public MojoLogger(boolean verbose, org.apache.maven.plugin.logging.Log log)
  • Method Details

    • debug

      public void debug(CharSequence content)
      Description copied from interface: Logger
      Send a message to the user in the debug level.
      Specified by:
      debug in interface Logger
    • info

      public void info(CharSequence content)
      Description copied from interface: Logger
      Send a message to the user in the info level.
      Specified by:
      info in interface Logger
    • warn

      public void warn(CharSequence content)
      Description copied from interface: Logger
      Send a message to the user in the warn level.
      Specified by:
      warn in interface Logger
    • error

      public void error(CharSequence content)
      Description copied from interface: Logger
      Send a message to the user in the error level.
      Specified by:
      error in interface Logger