org.apache.maven.embedder

Class MavenEmbedderLoggerManager

public class MavenEmbedderLoggerManager extends AbstractLoggerManager implements LoggerManager, Initializable

This is a simple logger manager that will only write the logging statements to the console.

Sample configuration:

 
   org.codehaus.plexus.logging.ConsoleLoggerManager
   
     DEBUG
   
 
 

Version: $Id: MavenEmbedderLoggerManager.java 292888 2005-10-01 01:17:36Z jvanzyl $

Author: Jason van Zyl Trygve Laugstøl

Constructor Summary
MavenEmbedderLoggerManager(Logger logger)
Method Summary
intgetActiveLoggerCount()
LoggergetLoggerForComponent(String role, String roleHint)
intgetThreshold()
intgetThreshold(String role, String roleHint)
voidinitialize()
voidreturnComponentLogger(String role, String roleHint)
voidsetThreshold(int currentThreshold)
voidsetThreshold(String role, String roleHint, int threshold)

Constructor Detail

MavenEmbedderLoggerManager

public MavenEmbedderLoggerManager(Logger logger)

Method Detail

getActiveLoggerCount

public int getActiveLoggerCount()

getLoggerForComponent

public Logger getLoggerForComponent(String role, String roleHint)

getThreshold

public int getThreshold()

Returns: Returns the threshold.

getThreshold

public int getThreshold(String role, String roleHint)

initialize

public void initialize()

returnComponentLogger

public void returnComponentLogger(String role, String roleHint)

setThreshold

public void setThreshold(int currentThreshold)

setThreshold

public void setThreshold(String role, String roleHint, int threshold)
Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.