Class MojoLogWrapper

  • All Implemented Interfaces:
    org.apache.maven.plugin.logging.Log

    @Deprecated
    public class MojoLogWrapper
    extends java.lang.Object
    implements org.apache.maven.plugin.logging.Log
    Deprecated.
    As of version 3.4.0, it is advised to work with JUnit5 tests which do not use this class but Inject to inject a Log instance instead.
    Author:
    jdcasey
    • Constructor Summary

      Constructors 
      Constructor Description
      MojoLogWrapper​(org.slf4j.Logger logger)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void debug​(java.lang.CharSequence content)
      Deprecated.
       
      void debug​(java.lang.CharSequence content, java.lang.Throwable error)
      Deprecated.
       
      void debug​(java.lang.Throwable error)
      Deprecated.
       
      void error​(java.lang.CharSequence content)
      Deprecated.
       
      void error​(java.lang.CharSequence content, java.lang.Throwable error)
      Deprecated.
       
      void error​(java.lang.Throwable error)
      Deprecated.
       
      void info​(java.lang.CharSequence content)
      Deprecated.
       
      void info​(java.lang.CharSequence content, java.lang.Throwable error)
      Deprecated.
       
      void info​(java.lang.Throwable error)
      Deprecated.
       
      boolean isDebugEnabled()
      Deprecated.
       
      boolean isErrorEnabled()
      Deprecated.
       
      boolean isInfoEnabled()
      Deprecated.
       
      boolean isWarnEnabled()
      Deprecated.
       
      void warn​(java.lang.CharSequence content)
      Deprecated.
       
      void warn​(java.lang.CharSequence content, java.lang.Throwable error)
      Deprecated.
       
      void warn​(java.lang.Throwable error)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MojoLogWrapper

        public MojoLogWrapper​(org.slf4j.Logger logger)
        Deprecated.
    • Method Detail

      • debug

        public void debug​(java.lang.CharSequence content)
        Deprecated.
        Specified by:
        debug in interface org.apache.maven.plugin.logging.Log
      • debug

        public void debug​(java.lang.CharSequence content,
                          java.lang.Throwable error)
        Deprecated.
        Specified by:
        debug in interface org.apache.maven.plugin.logging.Log
      • debug

        public void debug​(java.lang.Throwable error)
        Deprecated.
        Specified by:
        debug in interface org.apache.maven.plugin.logging.Log
      • info

        public void info​(java.lang.CharSequence content)
        Deprecated.
        Specified by:
        info in interface org.apache.maven.plugin.logging.Log
      • info

        public void info​(java.lang.CharSequence content,
                         java.lang.Throwable error)
        Deprecated.
        Specified by:
        info in interface org.apache.maven.plugin.logging.Log
      • info

        public void info​(java.lang.Throwable error)
        Deprecated.
        Specified by:
        info in interface org.apache.maven.plugin.logging.Log
      • warn

        public void warn​(java.lang.CharSequence content)
        Deprecated.
        Specified by:
        warn in interface org.apache.maven.plugin.logging.Log
      • warn

        public void warn​(java.lang.CharSequence content,
                         java.lang.Throwable error)
        Deprecated.
        Specified by:
        warn in interface org.apache.maven.plugin.logging.Log
      • warn

        public void warn​(java.lang.Throwable error)
        Deprecated.
        Specified by:
        warn in interface org.apache.maven.plugin.logging.Log
      • error

        public void error​(java.lang.CharSequence content)
        Deprecated.
        Specified by:
        error in interface org.apache.maven.plugin.logging.Log
      • error

        public void error​(java.lang.CharSequence content,
                          java.lang.Throwable error)
        Deprecated.
        Specified by:
        error in interface org.apache.maven.plugin.logging.Log
      • error

        public void error​(java.lang.Throwable error)
        Deprecated.
        Specified by:
        error in interface org.apache.maven.plugin.logging.Log
      • isDebugEnabled

        public boolean isDebugEnabled()
        Deprecated.
        Specified by:
        isDebugEnabled in interface org.apache.maven.plugin.logging.Log
      • isInfoEnabled

        public boolean isInfoEnabled()
        Deprecated.
        Specified by:
        isInfoEnabled in interface org.apache.maven.plugin.logging.Log
      • isWarnEnabled

        public boolean isWarnEnabled()
        Deprecated.
        Specified by:
        isWarnEnabled in interface org.apache.maven.plugin.logging.Log
      • isErrorEnabled

        public boolean isErrorEnabled()
        Deprecated.
        Specified by:
        isErrorEnabled in interface org.apache.maven.plugin.logging.Log