de.mindcrimeilab.swing.log4j
Class StyledLogMessage

java.lang.Object
  extended by de.mindcrimeilab.swing.log4j.StyledLogMessage

public final class StyledLogMessage
extends Object

Version:
$Revision: 126 $
Author:
Michael Engelhardt, $Author: agony $

Field Summary
static MutableAttributeSet STYLE_CONFIG
           
static MutableAttributeSet STYLE_DEFAULT
           
static MutableAttributeSet STYLE_ERROR
           
static MutableAttributeSet STYLE_FINE
           
static MutableAttributeSet STYLE_FINER
           
static MutableAttributeSet STYLE_FINEST
           
static MutableAttributeSet STYLE_INFO
           
static MutableAttributeSet STYLE_WARNING
           
 
Method Summary
 String getFormattedLogMessage()
           
 org.apache.log4j.Level getLevel()
           
static StyledLogMessage getLogMessage(org.apache.log4j.Level level, String formattedLogMessage)
           
 AttributeSet getStyle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STYLE_ERROR

public static MutableAttributeSet STYLE_ERROR

STYLE_WARNING

public static MutableAttributeSet STYLE_WARNING

STYLE_INFO

public static MutableAttributeSet STYLE_INFO

STYLE_CONFIG

public static MutableAttributeSet STYLE_CONFIG

STYLE_FINE

public static MutableAttributeSet STYLE_FINE

STYLE_FINER

public static MutableAttributeSet STYLE_FINER

STYLE_FINEST

public static MutableAttributeSet STYLE_FINEST

STYLE_DEFAULT

public static MutableAttributeSet STYLE_DEFAULT
Method Detail

getLogMessage

public static final StyledLogMessage getLogMessage(org.apache.log4j.Level level,
                                                   String formattedLogMessage)

getFormattedLogMessage

public String getFormattedLogMessage()
Returns:
the formattedLogMessage

getLevel

public org.apache.log4j.Level getLevel()
Returns:
the level

getStyle

public AttributeSet getStyle()
Returns:
the style


Copyright © 2010. All Rights Reserved.