org.codehaus.cargo.maven2.log
Class MavenLogger
java.lang.Object
org.codehaus.cargo.util.internal.log.AbstractLogger
org.codehaus.cargo.maven2.log.MavenLogger
- All Implemented Interfaces:
- Logger
public class MavenLogger
- extends AbstractLogger
Logger that sends messages to the Maven 2 logging subsystem.
- Version:
- $Id: MavenLogger.java 1060 2006-06-30 16:02:28Z vmassol $
Constructor Summary |
MavenLogger(org.apache.maven.plugin.logging.Log logger)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MavenLogger
public MavenLogger(org.apache.maven.plugin.logging.Log logger)
- Parameters:
logger
- the Maven 2 logger to send messages to
doLog
protected void doLog(LogLevel level,
String message,
String category)
- Common method for all severity levels.
- Specified by:
doLog
in class AbstractLogger
- Parameters:
level
- the log level (aka severity) of the messagemessage
- the message to logcategory
- the log category- See Also:
AbstractLogger.doLog(org.codehaus.cargo.util.log.LogLevel, String, String)
Copyright © 2004-2012 Codehaus. All Rights Reserved.