Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,6 @@ public abstract class AbstractMojo implements Mojo, ContextEnabled {
/** Plugin container context */
private Map pluginContext;

/**
* @deprecated Use SLF4J directly
*/
@Deprecated
@Override
public void setLog(Log log) {
this.log = log;
Expand All @@ -164,9 +160,7 @@ public void setLog(Log log) {
* method directly whenever you need the logger, it is fast enough and needs no caching.
*
* @see org.apache.maven.plugin.Mojo#getLog()
* @deprecated Use SLF4J directly
*/
@Deprecated
@Override
public Log getLog() {
if (log == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,14 @@ public interface Mojo {
*
* @param log a new logger
*
* @deprecated Use SLF4J directly
*/
@Deprecated
void setLog(Log log);

/**
* Furnish access to the standard Maven logging mechanism which is managed in this base class.
*
* @return a log4j-like logger object which allows plugins to create messages at levels of <code>"debug"</code>,
* <code>"info"</code>, <code>"warn"</code>, and <code>"error"</code>.
* @deprecated Use SLF4J directly
*/
@Deprecated
Log getLog();
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@
* rather than formatting first by calling <code>toString()</code>.
*
*
* @deprecated Use SLF4J directly
*/
@Deprecated
public interface Log {
/**
* @return true if the <b>debug</b> error level is enabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
* Logger with "standard" output and error output stream.
*
*
* @deprecated Use SLF4J directly
*/
@Deprecated
public class SystemStreamLog implements Log {
/**
* @see org.apache.maven.plugin.logging.Log#debug(java.lang.CharSequence)
Expand Down