qx.log.appender
Class Abstract

java.lang.Object
  extended by qx.core.Object
      extended by qx.log.LogEventProcessor
          extended by qx.log.appender.Abstract
Direct Known Subclasses:
Alert, Div, FireBug, Forward, HtmlElement, JsUnit, Native, RingBuffer, Window

public abstract class Abstract
extends LogEventProcessor

An appender. Does the actual logging.


Constructor Summary
Abstract()
           
 
Method Summary
 void appendLogEvent(java.lang.Object evt)
          Appends a log event to the log.
 java.lang.String formatLogEvent(java.lang.Object evt)
          Formats a log event.
 boolean getUseLongFormat()
          Returns the (computed) value of the property useLongFormat.
 void handleLogEvent(java.lang.Object evt)
          Processes a log event.
 void initUseLongFormat(boolean arg)
          Calls the apply method and dispatches the change event of the property useLongFormat with the default value defined by the class developer.
 boolean isUseLongFormat()
          Check whether the (computed) value of the boolean property useLongFormat equals true.
 void resetUseLongFormat()
          Resets the user value of the property useLongFormat.
 void setUseLongFormat(boolean arg)
          Sets the user value of the property useLongFormat.
 boolean toggleUseLongFormat()
          Toggles the (computed) value of the boolean property useLongFormat.
 
Methods inherited from class qx.log.LogEventProcessor
_getDefaultFilter, addFilter, clearFilters, decideLogEvent, getHeadFilter, setEnabled, setMinLevel
 
Methods inherited from class qx.core.Object
_disposeFields, _disposeObjectDeep, _disposeObjects, base, dispose, get, getDisposed, isDisposed, reset, self, set, toHashCode, toString_
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Abstract

public Abstract()
Method Detail

appendLogEvent

public void appendLogEvent(java.lang.Object evt)

Appends a log event to the log.


formatLogEvent

public java.lang.String formatLogEvent(java.lang.Object evt)

Formats a log event.


getUseLongFormat

public boolean getUseLongFormat()

Returns the (computed) value of the property useLongFormat.

For further details take a look at the property definition: useLongFormat.


handleLogEvent

public void handleLogEvent(java.lang.Object evt)
Description copied from class: LogEventProcessor

Processes a log event.

Overrides:
handleLogEvent in class LogEventProcessor

initUseLongFormat

public void initUseLongFormat(boolean arg)

Calls the apply method and dispatches the change event of the property useLongFormat with the default value defined by the class developer. This function can only be called from the constructor of a class.

For further details take a look at the property definition: useLongFormat.


isUseLongFormat

public boolean isUseLongFormat()

Check whether the (computed) value of the boolean property useLongFormat equals true.

For further details take a look at the property definition: useLongFormat.


resetUseLongFormat

public void resetUseLongFormat()

Resets the user value of the property useLongFormat.

The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.

For further details take a look at the property definition: useLongFormat.


setUseLongFormat

public void setUseLongFormat(boolean arg)

Sets the user value of the property useLongFormat.

For further details take a look at the property definition: useLongFormat.


toggleUseLongFormat

public boolean toggleUseLongFormat()

Toggles the (computed) value of the boolean property useLongFormat.

For further details take a look at the property definition: useLongFormat.



Copyright © 2008 1&1. All Rights Reserved.