flex.messaging.log
Class LogEvent

java.lang.Object
  extended by flex.messaging.log.LogEvent

public class LogEvent
extends Object


Field Summary
static short ALL
           
static short DEBUG
           
static short ERROR
           
static short FATAL
           
static short INFO
           
 short level
          Provides access to the level for this log event.
 Logger logger
          Logger instance that raised the log event.
 String message
          Provides access to the message that was logged.
static short NONE
           
 Throwable throwable
          Related exception, if applicable.
static short WARN
           
 
Constructor Summary
LogEvent(Logger lgr, String msg, short lvl, Throwable t)
           
 
Method Summary
static String getLevelString(short value)
          Returns a string value representing the level specified.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final short NONE
See Also:
Constant Field Values

FATAL

public static final short FATAL
See Also:
Constant Field Values

ERROR

public static final short ERROR
See Also:
Constant Field Values

WARN

public static final short WARN
See Also:
Constant Field Values

INFO

public static final short INFO
See Also:
Constant Field Values

DEBUG

public static final short DEBUG
See Also:
Constant Field Values

ALL

public static final short ALL
See Also:
Constant Field Values

level

public short level
Provides access to the level for this log event. Valid values are:


message

public String message
Provides access to the message that was logged.


logger

public Logger logger
Logger instance that raised the log event.


throwable

public Throwable throwable
Related exception, if applicable.

Constructor Detail

LogEvent

public LogEvent(Logger lgr,
                String msg,
                short lvl,
                Throwable t)
Method Detail

getLevelString

public static String getLevelString(short value)
Returns a string value representing the level specified.

Parameters:
value - the level a string is desired for.
Returns:
the level specified in english


Copyright © 2008 Adobe Systems Inc. All Rights Reserved.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/log/LogEvent.html