org.apache.maven.dotnet.embedder.logger
Class MavenFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by org.apache.maven.dotnet.embedder.logger.MavenFormatter

public class MavenFormatter
extends java.util.logging.Formatter

Provides services for formatting log records in the standard maven format: [LOGLEVEL] message.

Author:
Shane Isbell

Constructor Summary
MavenFormatter()
           
 
Method Summary
 java.lang.String format(java.util.logging.LogRecord logRecord)
          Formats the specified log record as the standard maven format: [LOGLEVEL] message.
 
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenFormatter

public MavenFormatter()
Method Detail

format

public java.lang.String format(java.util.logging.LogRecord logRecord)
Formats the specified log record as the standard maven format: [LOGLEVEL] message.

Specified by:
format in class java.util.logging.Formatter
Parameters:
logRecord - the log record to format
Returns:
the specified log record as the standard maven format: [LOGLEVEL] message


Copyright © 2007 NMaven. All Rights Reserved.